summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2024-04-11luci-base: move and rename ucitrack firewall.jsonFlorian Eckert
Move the json file to where it belongs. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-base: move and rename ucitrack dropbear.jsonFlorian Eckert
Move the json file to where it belongs. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-base: move and rename ucitrack dhcp.jsonFlorian Eckert
Move the json file to where it belongs. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-base: move and rename ucitrack upnp.jsonFlorian Eckert
Move the json file to where it belongs. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-base: move and rename ucitrack fstab.jsonFlorian Eckert
Move the json file to where it belongs. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-base: move and rename ucitrack samba.jsonFlorian Eckert
Move the json file to where it belongs. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-base: move and rename ucitrack network.jsonFlorian Eckert
Move the json file to where it belongs. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-base: move and rename ucitrack wireless.jsonFlorian Eckert
Move the json file to where it belongs. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-base: move and rename ucitrack qos.jsonFlorian Eckert
Move the json file to where it belongs. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-base: move and rename ucitrack tinyproxy.jsonFlorian Eckert
Move the json file to where it belongs. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-base: remove deprecated ucitrack olsr.jsonFlorian Eckert
In the whole OpenWrt there is no olsr uci config, this must be a leftover and can therefore be deleted. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-base: remove deprecated ucitrack ntpclient.jsonFlorian Eckert
In the whole OpenWrt there is no ntpclient uci config, this must be a leftover and can therefore be deleted. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-base: remove deprecated ucitrack httpd.jsonFlorian Eckert
In the whole OpenWrt there is no httpd uci config, this must be a leftover from before uhttpd and can therefore be deleted. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-app-minidlna: remove uci-defaults for ucitrack handlingFlorian Eckert
The 'ucitrack' file is not available anymore this changes are not needed. Therefore, this 'uci-defaults' script is deleted. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-app-radicale: remove uci-defaults for ucitrack handlingFlorian Eckert
The 'ucitrack' file is not available anymore this changes are not needed. Therefore, this 'uci-defaults' script is deleted. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-app-ahcp: upgrade uci-defaults for ucitrack handling to use jsonFlorian Eckert
Conversion of the 'uci-defaults' script for ucitrack handling to the new json processing. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-app-p910nd: upgrade uci-defaults for ucitrack handling to use jsonFlorian Eckert
Conversion of the 'uci-defaults' script for ucitrack handling to the new json processing. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-app-libreswan: upgrade uci-defaults for ucitrack handling to use jsonFlorian Eckert
Conversion of the 'uci-defaults' script for ucitrack handling to the new json processing. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-app-watchcat: upgrade uci-defaults for ucitrack handling to use jsonFlorian Eckert
Conversion of the 'uci-defaults' script for ucitrack handling to the new json processing. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-app-irqbalance: upgrade uci-defaults for ucitrack handling to use jsonFlorian Eckert
Conversion of the 'uci-defaults' script for ucitrack handling to the new json processing. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-app-dynapoint: upgrade uci-defaults for ucitrack handling to use jsonFlorian Eckert
Conversion of the 'uci-defaults' script for ucitrack handling to the new json processing. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-app-olsr: upgrade uci-defaults for ucitrack handling to use jsonFlorian Eckert
Conversion of the 'uci-defaults' script for ucitrack handling to the new json processing. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-app-polipo: upgrade uci-defaults for ucitrack handling to use jsonFlorian Eckert
Conversion of the 'uci-defaults' script for ucitrack handling to the new json processing. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-app-sqm: upgrade uci-defaults for ucitrack handling to use jsonFlorian Eckert
Conversion of the 'uci-defaults' script for ucitrack handling to the new json processing. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-app-upnp: remove uci-defaults for ucitrack handlingFlorian Eckert
The 'ucitrack' file is not available anymore this changes are not needed. Therefore, this 'uci-defaults' script is deleted. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-app-mwan3: remove uci-defaults for ucitrack handlingFlorian Eckert
The 'ucitrack' file is not available anymore this changes are not needed. Therefore, this 'uci-defaults' script is deleted. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-app-privoxy: remove uci-defaults for ucitrack handlingFlorian Eckert
The 'ucitrack' file is not available anymore this changes are not needed. Therefore, this 'uci-defaults' script is deleted. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-app-ddns: remove uci-defaults for ucitrack handlingFlorian Eckert
The 'ucitrack' file is not available anymore this changes is not needed. Therefore, this 'uci-defaults' script is deleted. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-base: delete unused luci-reload commandFlorian Eckert
This script is no longer needed and can therefore be deleted. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-base: use json for ucitrack instead of uciFlorian Eckert
The 'ucitrack' configuration under '/etc/config' defines which service must be restarted on a LuCI change. This uci file defines how all this works together. Additionally there are 'uci-defaults' scripts in the various applications that add additional configurations parameters to this ucitrack file if a service must be reloaded/restarted on a LuCI change. There are some problems with the current implementation: * The uci should be used to configure the system and not for this kind of reload/restart dependency handling on LuCI changes. * On a system update with configuration restore of the 'ucitrack' file the new behavior on LuCI reload/restart could not take into account because the new file is *not* used. This commit converts the handling from uci to json. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-10luci-app-https-dns-proxy: bugfix: status/overview page includeStan Grishin
This fix prevents iteration over empty/null array of instances (and the type error) if there are no instances found. Fixes https://github.com/openwrt/packages/issues/23868 Signed-off-by: Stan Grishin <stangri@melmac.ca>
2024-04-10treewide: Sync translationsHannu Nyman
Sync translations. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2024-04-10Translated using Weblate (Russian)Hosted Weblate
Currently translated at 100.0% (2404 of 2404 strings) Translation: OpenWrt/LuCI/modules/luci-base Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (46 of 46 strings) Translation: OpenWrt/LuCI/applications/xfrpc Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsxfrpc/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (66 of 66 strings) Translation: OpenWrt/LuCI/applications/sshtunnel Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssshtunnel/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (198 of 198 strings) Translation: OpenWrt/LuCI/applications/smartdns Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssmartdns/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (211 of 211 strings) Translation: OpenWrt/LuCI/applications/dockerman Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (28 of 28 strings) Translation: OpenWrt/LuCI/applications/acl Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacl/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (62 of 62 strings) Translation: OpenWrt/LuCI/applications/sqm Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (25 of 25 strings) Translation: OpenWrt/LuCI/applications/ksmbd Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsksmbd/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (52 of 52 strings) Translation: OpenWrt/LuCI/applications/ttyd Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsttyd/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (175 of 175 strings) Translation: OpenWrt/LuCI/applications/adblock Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (191 of 191 strings) Translation: OpenWrt/LuCI/applications/travelmate Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (44 of 44 strings) Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (37 of 37 strings) Translated using Weblate (Lithuanian) Currently translated at 100.0% (33 of 33 strings) Translation: OpenWrt/LuCI/applications/v2raya Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsv2raya/lt/ Translated using Weblate (Lithuanian) Currently translated at 100.0% (2404 of 2404 strings) Translation: OpenWrt/LuCI/modules/luci-base Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/lt/ Translated using Weblate (Russian) Currently translated at 100.0% (45 of 45 strings) Translation: OpenWrt/LuCI/applications/cloudflared Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscloudflared/ru/ Translated using Weblate (Russian) Currently translated at 100.0% (33 of 33 strings) Translation: OpenWrt/LuCI/applications/v2raya Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsv2raya/ru/ Translated using Weblate (Russian) Currently translated at 100.0% (399 of 399 strings) Translated using Weblate (Russian) Currently translated at 100.0% (2404 of 2404 strings) Translation: OpenWrt/LuCI/modules/luci-base Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/ Translated using Weblate (Italian) Currently translated at 99.1% (2384 of 2404 strings) Translation: OpenWrt/LuCI/modules/luci-base Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/it/ Translated using Weblate (Turkish) Currently translated at 100.0% (2404 of 2404 strings) Translation: OpenWrt/LuCI/modules/luci-base Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/tr/ Translated using Weblate (Polish) Currently translated at 100.0% (2404 of 2404 strings) Translation: OpenWrt/LuCI/modules/luci-base Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (33 of 33 strings) Translation: OpenWrt/LuCI/applications/v2raya Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsv2raya/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (46 of 46 strings) Translation: OpenWrt/LuCI/applications/xfrpc Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsxfrpc/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (66 of 66 strings) Translation: OpenWrt/LuCI/applications/sshtunnel Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssshtunnel/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (66 of 66 strings) Translation: OpenWrt/LuCI/applications/frps Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (89 of 89 strings) Translation: OpenWrt/LuCI/applications/frpc Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (168 of 168 strings) Translation: OpenWrt/LuCI/applications/aria2 Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsaria2/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (74 of 74 strings) Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (399 of 399 strings) Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (2404 of 2404 strings) Translation: OpenWrt/LuCI/modules/luci-base Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/ Translated using Weblate (Polish) Currently translated at 100.0% (2404 of 2404 strings) Translation: OpenWrt/LuCI/modules/luci-base Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/ Co-authored-by: Džiugas J <dziugas1959@hotmail.com> Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: Matthaiks <kitynska@gmail.com> Co-authored-by: MkQtS <MkQtS@users.noreply.hosted.weblate.org> Co-authored-by: Oğuz Han <h4n.3545@gmail.com> Co-authored-by: Random <random-r@users.noreply.hosted.weblate.org> Co-authored-by: Sergey Ponomarev <stokito@gmail.com> Co-authored-by: st7105 <st7105@gmail.com> Co-authored-by: try496 <pinghejk@gmail.com> Signed-off-by: Džiugas J <dziugas1959@hotmail.com> Signed-off-by: Matthaiks <kitynska@gmail.com> Signed-off-by: MkQtS <MkQtS@users.noreply.hosted.weblate.org> Signed-off-by: Oğuz Han <h4n.3545@gmail.com> Signed-off-by: Random <random-r@users.noreply.hosted.weblate.org> Signed-off-by: Sergey Ponomarev <stokito@gmail.com> Signed-off-by: st7105 <st7105@gmail.com> Signed-off-by: try496 <pinghejk@gmail.com> Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfwknopd/zh_Hans/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssamba4/zh_Hans/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/ru/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/zh_Hans/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/zh_Hans/ Translation: OpenWrt/LuCI/applications/fwknopd Translation: OpenWrt/LuCI/applications/samba4 Translation: OpenWrt/LuCI/applications/statistics Translation: OpenWrt/LuCI/applications/tinyproxy
2024-04-09Merge pull request #6553 from stokito/luc-mod-system_filemanagerJo-Philipp Wich
Add File Manager / File Browser based on form.FileUpload
2024-04-09luci-app-filebrowser: File BrowserSergey Ponomarev
Add a File Browser based on the FileUpload CBI element. It allows browsing files and directories on a router, delete and upload. This covers only basic needs. Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2024-04-09luci-base: ui.js FileUpload: option to enable Download buttonSergey Ponomarev
Allow downloading from a file browser. The Download button is located near to Delete. It's shown only for files: folders or /dev/ devices can't be downloaded. The downloading is made via fs.read_direct() which internally calls cgi-download. Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2024-04-08luci.mk: include release in version numberStan Grishin
Fixes issue mentioned in https://github.com/openwrt/luci/pull/7009#issuecomment-2035504461 where the IPK filename doesn't contain release from the luci-app Makefile. Signed-off-by: Stan Grishin <stangri@melmac.ca>
2024-04-08luci-base: resync translationsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-04-08Merge pull request #7046 from weblate/weblate-openwrt-luciJo-Philipp Wich
Translations update from Hosted Weblate
2024-04-08Translated using Weblate (Spanish)Hosted Weblate
Currently translated at 100.0% (164 of 164 strings) Translation: OpenWrt/LuCI/applications/adblock-fast Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock-fast/es/ Translated using Weblate (Spanish) Currently translated at 100.0% (111 of 111 strings) Translation: OpenWrt/LuCI/applications/pbr Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspbr/es/ Translated using Weblate (Spanish) Currently translated at 80.5% (116 of 144 strings) Translation: OpenWrt/LuCI/applications/https-dns-proxy Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/es/ Translated using Weblate (Spanish) Currently translated at 100.0% (82 of 82 strings) Translation: OpenWrt/LuCI/applications/shadowsocks-libev Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshadowsocks-libev/es/ Translated using Weblate (Spanish) Currently translated at 57.6% (140 of 243 strings) Translation: OpenWrt/LuCI/applications/banip Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/es/ Translated using Weblate (Spanish) Currently translated at 100.0% (191 of 191 strings) Translation: OpenWrt/LuCI/applications/travelmate Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/es/ Translated using Weblate (Spanish) Currently translated at 94.9% (2260 of 2381 strings) Translation: OpenWrt/LuCI/modules/luci-base Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/ Translated using Weblate (Spanish) Currently translated at 94.9% (2260 of 2381 strings) Translation: OpenWrt/LuCI/modules/luci-base Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/ Translated using Weblate (Lithuanian) Currently translated at 100.0% (2381 of 2381 strings) Translation: OpenWrt/LuCI/modules/luci-base Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/lt/ Co-authored-by: Džiugas J <dziugas1959@hotmail.com> Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com> Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: Salvador Peña <salvadorp74@hotmail.com> Signed-off-by: Džiugas J <dziugas1959@hotmail.com> Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com> Signed-off-by: Salvador Peña <salvadorp74@hotmail.com>
2024-04-08luci-proto-yggdrasil: fix empty translation stringJo-Philipp Wich
The empty string is not a legal translation key. Fixes: f5ccfd3df4 ("luci-proto-yggdrasil: add `yggdrasil-jumper` support") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-04-08luci-mod-network: dhcp.js: group DNS record related options in one tabJo-Philipp Wich
In order to unclutter the default dnmasq configuration view, move the Hostnames (A+PTR), SRV, MX and CNAME sections into a new dedicated "DNS Records" tab. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-04-08luci-mod-network: dhcp.js: improve behavior with default configurationJo-Philipp Wich
- Hide anonymous section title if only one instance is present - Hide section remove button if only one instance is present - In case multiple sections are present, label the first and subsequent anonymous sections as `Default instance` and `Unnamed instance #N` respectively - Label named sections as `Instance "XXX"` - Label delete buttons as `Remove instance "XXX"`, `Remove default instance` or `Remove instance #N` depending on whether the associated instance is the first anonymous one, a subsequent anonymous one or a named one - Label add button as `Add server instance` - Add placeholder text `New instance name…` to the section name input Ref: https://forum.openwrt.org/t/x/194048 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-04-08Merge pull request #7020 from findlayfeng/luci-proto-bondingFlorian Eckert
luci-proto-bonding: Modify ipaddr as optional
2024-04-07csstidy: Fix PKG_MIRROR_HASH after .zst changeHannu Nyman
Adjust PKG_MIRROR_HASH to the filename change due to .zst adoption. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2024-04-07lucihttp: Fix PKG_MIRROR_HASH after .zst changeHannu Nyman
Adjust PKG_MIRROR_HASH to the filename change due to .zst adoption. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2024-04-07luci-app-nut: Remove old no-op uci-defaults scriptHannu Nyman
Remove old uci-defaults script that was supposed to be run if nut was older than 2.4.7-8. Nut has been at 2.7.4-9 or newer since 2018. (Ps. The script had faulty logic: the version check never matched.) Fixes #6966 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2024-04-07luci.mk: more APK version compatibility changesPaul Spooren
The initial commit did not take care of corner cases which could happen if building under build conditions other than using Git. There are three cases for the `findrev` function: - git -> 24.079.58964~7943616 (remove prefixed `git-`) APK can't handle `git-` as prefix, it could be `0_git<integer>` but this seems rather confusing. - date -> 0.240326.34906 ( add leading 0) Add a leading zero so the version is always lower compared to using Git. This makes it easier to distinguish from a Git based version. - unknown -> 0 (instead of `unknown`) APK can't handle `unknown` so set it to a simple zero instead. Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-04-07luci-mod-network: follow-up fix for 723507231566b61750e32284b49acdae0d0162d3Paul Donald
add a null-check before parsing networks loop through available networks on all interfaces except loopback Closes #7047 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-04-05luci-app-firewall: Add 'any' choice for SNAT 'family' optionPaul Donald
If one sets a SNAT rule via the GUI as 'automatic', the 'family' remains empty. In fw4.uc code, this is interpreted as: /* default to IPv4 only for backwards compatibility, unless an explicit family any was configured */ 'any' is handled by fw4 as IPv4+6. Also prevent 'any' from triggering a validation error (non-SNAT targets hide 'snat_ip' which remains empty, and triggered an error). Signed-off-by: Paul Donald <newtwen+github@gmail.com>