diff --git a/bouncer.sh b/bouncer.sh index daefbac..b7413b4 100755 --- a/bouncer.sh +++ b/bouncer.sh @@ -2,7 +2,7 @@ # # Script to add /remove IPs to iptables -[[ -n "${IPTABLES_COMMENT}" ]] && commment="-m comment --comment \"$4\"" || comment="" +[[ -n "${IPTABLES_COMMENT}" ]] && comment="-m comment --comment \"$4\"" || comment="" : ${IPTABLES_CHAIN:=INPUT} function iptableAdd () {