summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorPaul Donald <newtwen+github@gmail.com>2024-04-03 23:38:31 +0200
committerPaul Donald <newtwen+github@gmail.com>2024-04-05 16:14:03 +0200
commit4ca87f6576272d4a4659e995bef00cf34d5746e9 (patch)
tree4ed8a81fdb1be0f356daba4ef761788f17b703a4 /.github
parentcf6c24fa473bf512fd9ad22605943157e9046afa (diff)
luci-app-firewall: Add 'any' choice for SNAT 'family' option
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>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions