mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 07:33:43 +01:00
Correctly detect duplicate entry in interfaces file
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@79 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
ce5030ac2b
commit
d5bfd4e40a
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user