Skip to content
Snippets Groups Projects
Commit 1ca64678 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

firewall: fix rule generation for v4 or v6 only zones (#8955)

SVN-Revision: 25813
parent a37fc00a
No related branches found
No related tags found
No related merge requests found
# #
# Copyright (C) 2008-2010 OpenWrt.org # Copyright (C) 2008-2011 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
...@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk ...@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=firewall PKG_NAME:=firewall
PKG_VERSION:=2 PKG_VERSION:=2
PKG_RELEASE:=21 PKG_RELEASE:=22
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
......
...@@ -70,6 +70,9 @@ fw_configure_interface() { ...@@ -70,6 +70,9 @@ fw_configure_interface() {
# Need v4 while zone is v6 # Need v4 while zone is v6
*/*.*) fw_log info "zone $zone does not support IPv4 address family, skipping"; return ;; */*.*) fw_log info "zone $zone does not support IPv4 address family, skipping"; return ;;
# Strip prefix
*) mode="${mode#G}" ;;
esac esac
lock /var/run/firewall-interface.lock lock /var/run/firewall-interface.lock
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment