[backfire] merge r25813
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 1 Mar 2011 18:05:03 +0000 (18:05 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 1 Mar 2011 18:05:03 +0000 (18:05 +0000)
SVN-Revision: 25814

package/firewall/Makefile
package/firewall/files/lib/core_interface.sh

index 4a8a5d3199f7628562d7346368232854ec4f2e35..3d61e098896261735417cd5df2ce7c4fccd77917 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2008-2010 OpenWrt.org
+# Copyright (C) 2008-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=firewall
 
 PKG_VERSION:=2
-PKG_RELEASE:=21
+PKG_RELEASE:=22
 
 include $(INCLUDE_DIR)/package.mk
 
index f08975952cd7f3931bece4b9ed1f9167263730a4..aff66418079f0934530c75907217e478d8f39f69 100644 (file)
@@ -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