summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dnscrypt-proxy/luasrc
diff options
context:
space:
mode:
authorPaul Donald <newtwen+github@gmail.com>2024-05-01 16:18:26 +0200
committerPaul Donald <newtwen+github@gmail.com>2024-05-01 16:32:40 +0200
commitfa2aeb7d2ff84c0dc022c7432b6123cb950dbd61 (patch)
tree712088c6be094cfc9ff407573dc586832858ec2a /applications/luci-app-dnscrypt-proxy/luasrc
parente5f6b64813b712defe77f01c9274d02085bb47a7 (diff)
luci-app-firewall: SNAT display fixes
The implied logic in the functions to build display text is a bit of a minefield. Now, if family=4+6 is selected, display 4+6. This part is a follow-up to: 4ca87f6576272d4a4659e995bef00cf34d5746e9 Previously it would display only IPv6. Now, if family=auto i.e. '' is selected then display 4 only. fw4 internally treats no family as IPv4 only, meaning that IPv6 was not SNATed. (This treatment is 'incorrect' but because it has always been this way, this behaviour is retained for backwards compatibility, and user expectations.) Previous logic was incorrect (bug) and would display: Forwarded IPv4 and IPv6 misleading the user. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Diffstat (limited to 'applications/luci-app-dnscrypt-proxy/luasrc')
0 files changed, 0 insertions, 0 deletions