From d5bfd4e40acef68c176948a42448b1daf6a0cbe8 Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 18 Jun 2002 15:44:17 +0000 Subject: [PATCH] Correctly detect duplicate entry in interfaces file git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@79 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/firewall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/firewall b/Shorewall/firewall index 9b61456ff..9ee6c026f 100755 --- a/Shorewall/firewall +++ b/Shorewall/firewall @@ -443,7 +443,7 @@ validate_interfaces_file() { r="$z $interface $subnet $options" [ "x$z" = "x-" ] || validate_zone $z || startup_error "Invalid zone ($z) in record \"$r\"" - list_search $intr $all_interfaces && \ + list_search $interface $all_interfaces && \ startup_error "Duplicate Interface $intr" all_interfaces="$all_interfaces $interface"