forked from extern/shorewall_code
Remove interface port list -- no longer needed
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3183 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
28e3a4a7ed
commit
d2c9149223
@ -1466,7 +1466,7 @@ validate_hosts_file() {
|
||||
;;
|
||||
esac
|
||||
|
||||
eval ports=\$${iface}_ports
|
||||
ports=\$${iface}
|
||||
eval zports=\$${z}_ports
|
||||
|
||||
for host in $(separate_list $hosts); do
|
||||
@ -1517,10 +1517,7 @@ validate_hosts_file() {
|
||||
done
|
||||
done
|
||||
|
||||
if [ -n "$ports" ]; then
|
||||
eval ${iface}_ports=\"$ports\"
|
||||
eval ${z}_ports=\"$zports\"
|
||||
fi
|
||||
[ -n "$ports" ] && eval ${z}_ports=\"$zports\"
|
||||
|
||||
done < $TMP_DIR/hosts
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user