diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-03-01 18:04:14 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-03-01 18:04:14 +0000 |
commit | 2caca9f37810bfcd449d87d7bf743f2f37511682 (patch) | |
tree | f240a51eecdb981cd4be841021a55fdac4c50911 /package/firewall/files/lib | |
parent | 1acd0581a5a648f7bf9621cc3415b281d73205af (diff) | |
download | upstream-2caca9f37810bfcd449d87d7bf743f2f37511682.tar.gz upstream-2caca9f37810bfcd449d87d7bf743f2f37511682.tar.bz2 upstream-2caca9f37810bfcd449d87d7bf743f2f37511682.zip |
[package] firewall: fix rule generation for v4 or v6 only zones (#8955)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25813 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/firewall/files/lib')
-rw-r--r-- | package/firewall/files/lib/core_interface.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/firewall/files/lib/core_interface.sh b/package/firewall/files/lib/core_interface.sh index f08975952c..aff6641807 100644 --- a/package/firewall/files/lib/core_interface.sh +++ b/package/firewall/files/lib/core_interface.sh @@ -70,6 +70,9 @@ fw_configure_interface() { # Need v4 while zone is v6 */*.*) fw_log info "zone $zone does not support IPv4 address family, skipping"; return ;; + + # Strip prefix + *) mode="${mode#G}" ;; esac lock /var/run/firewall-interface.lock |