forked from extern/shorewall_code
Alloc null second column in ecn file
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@469 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
08ec9ac4e0
commit
99bcc9cc39
@ -1799,8 +1799,8 @@ setup_ecn() # $1 = file name
|
||||
startup_error "Unknown interface $interface"
|
||||
list_search $interface $interfaces || \
|
||||
interfaces="$interfaces $interface"
|
||||
[ "x$host" = "x-" ] && host=0.0.0.0/0
|
||||
for h in `separate_list $host`; do
|
||||
[ "x$host" = "x-" ] && host=
|
||||
for h in `separate_list ${host:-0.0.0.0/0}`; do
|
||||
hosts="$hosts $interface:$h"
|
||||
done
|
||||
done < $TMP_DIR/ecn
|
||||
|
Loading…
Reference in New Issue
Block a user