From df297315f7b2e228ede7eae4ecafd0216149d37f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 31 May 2010 01:34:47 +0000 Subject: [package] firewall: change the order of IPv4/IPv6 address detection, fixes mixed notation v6 improperly detected as v4 address git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21642 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/firewall/files/lib/fw.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/firewall/files/lib/fw.sh') diff --git a/package/firewall/files/lib/fw.sh b/package/firewall/files/lib/fw.sh index 553642070c..86e817182b 100644 --- a/package/firewall/files/lib/fw.sh +++ b/package/firewall/files/lib/fw.sh @@ -51,8 +51,8 @@ fw__exec() { # { } shift while [ "$1" != '}' ]; do case "$1" in - *.*.*.*) ip4=1 ;; *:*) ip6=1 ;; + *.*.*.*) ip4=1 ;; esac shift done -- cgit v1.2.3