summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérôme Schneider <jschneider@entrouvert.com>2013-11-22 09:18:26 (GMT)
committerJérôme Schneider <jschneider@entrouvert.com>2013-11-22 09:18:26 (GMT)
commitf39de51a51b3c20823c40f6c03ce0ef6479f217a (patch)
tree761c6bc835bef886a2377063d78e3dd64ee02d00
parent0129cf55db629a49ac1d02f6edd3bd12eec3deac (diff)
downloadeofirewall-f39de51a51b3c20823c40f6c03ce0ef6479f217a.zip
eofirewall-f39de51a51b3c20823c40f6c03ce0ef6479f217a.tar.gz
eofirewall-f39de51a51b3c20823c40f6c03ce0ef6479f217a.tar.bz2
eofirewall: fix open_port call
-rwxr-xr-xeofirewall4
1 files changed, 2 insertions, 2 deletions
diff --git a/eofirewall b/eofirewall
index 5536560..56d4e87 100755
--- a/eofirewall
+++ b/eofirewall
@@ -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