eofirewall: fix open_port call

This commit is contained in:
Jérôme Schneider 2013-11-22 10:18:26 +01:00
parent 0129cf55db
commit f39de51a51
1 changed files with 2 additions and 2 deletions

View File

@ -325,12 +325,12 @@ start()
## Old: Whitelist
for arg in "${WHITELIST_SSH[@]}"; do
log_warning_msg "WHITELIST_SSH is obsolete: this option will be removed in next version"
open_port $arg tcp ssh
open_input_port $arg tcp ssh
done
for ip in "${WHITELIST[@]}"; do
for args in "${WHITELIST_OPEN_PORTS[@]}"; do
open_port $ip $args
open_input_port $ip $args
done
done