From ba53471109641d735aaee426e4dd39accc6d02ac Mon Sep 17 00:00:00 2001 From: jow Date: Tue, 1 Mar 2011 18:04:14 +0000 Subject: [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 --- package/firewall/files/lib/core_interface.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package/firewall/files') 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 -- cgit v1.2.3