Changeset 25813


Ignore:
Timestamp:
2011-03-01T19:04:14+01:00 (7 years ago)
Author:
jow
Message:

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

Location:
trunk/package/firewall
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/firewall/Makefile

    r25179 r25813  
    11# 
    2 # Copyright (C) 2008-2010 OpenWrt.org 
     2# Copyright (C) 2008-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010 
    1111PKG_VERSION:=2 
    12 PKG_RELEASE:=21 
     12PKG_RELEASE:=22 
    1313 
    1414include $(INCLUDE_DIR)/package.mk 
  • trunk/package/firewall/files/lib/core_interface.sh

    r23090 r25813  
    7171                        # Need v4 while zone is v6 
    7272                        */*.*) fw_log info "zone $zone does not support IPv4 address family, skipping"; return ;; 
     73 
     74                        # Strip prefix 
     75                        *) mode="${mode#G}" ;; 
    7376                esac 
    7477 
Note: See TracChangeset for help on using the changeset viewer.