diff options
author | Paul Dee <systemcrash@users.noreply.github.com> | 2021-08-31 23:10:44 +0200 |
---|---|---|
committer | Paul Dee <systemcrash@users.noreply.github.com> | 2021-08-31 23:15:16 +0200 |
commit | 19c66ef539da5136bcdb3978e5e8b87c87f8ae21 (patch) | |
tree | 3c0b61da38ae77d67dac15e5b41701184967ba5d /applications/luci-app-firewall/htdocs | |
parent | 71d79ec0c153d3b8d0ba9d512294455d2d4b6ad1 (diff) |
luci-app-firewall: add ipv6 exclusive ICMP types
to firewall 'Match ICMP type' field.
See issue #5213
Signed-off-by: Paul Dee <systemcrash@users.noreply.github.com>
Diffstat (limited to 'applications/luci-app-firewall/htdocs')
-rw-r--r-- | applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js index 435728a490..67b036780b 100644 --- a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js +++ b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js @@ -298,6 +298,8 @@ return view.extend({ o.value('', 'any'); o.value('address-mask-reply'); o.value('address-mask-request'); + o.value('address-unreachable'); /* ipv6 */ + o.value('bad-header'); /* ipv6 */ o.value('communication-prohibited'); o.value('destination-unreachable'); o.value('echo-reply'); @@ -315,6 +317,7 @@ return view.extend({ o.value('network-redirect'); o.value('network-unknown'); o.value('network-unreachable'); + o.value('no-route'); /* ipv6 */ o.value('packet-too-big'); o.value('parameter-problem'); o.value('port-unreachable'); @@ -335,6 +338,8 @@ return view.extend({ o.value('TOS-network-unreachable'); o.value('ttl-zero-during-reassembly'); o.value('ttl-zero-during-transit'); + o.value('unknown-header-type'); /* ipv6 */ + o.value('unknown-option'); /* ipv6 */ o.depends({ proto: 'icmp', '!contains': true }); o.depends({ proto: 'icmpv6', '!contains': true }); |