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:
teastep 2005-12-20 00:39:55 +00:00
parent 28e3a4a7ed
commit d2c9149223

View File

@ -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