From 9c560cad5beca6ff5c71bba9fc568e49b8649477 Mon Sep 17 00:00:00 2001 From: bbruns Date: Sun, 13 Apr 2014 17:48:50 +0000 Subject: [PATCH] --- lib/iptables.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/iptables.inc b/lib/iptables.inc index 64a51a2..a03dd04 100644 --- a/lib/iptables.inc +++ b/lib/iptables.inc @@ -594,7 +594,7 @@ function enable_portfw { [[ ${intip} != "-" ]] && intdest="--to-destination ${intip}:${intport}" [[ ${interface} != "-" ]] && interface="-i ${interface}" [[ ${intip} != "-" ]] && intip="-d ${intip}" - [[ ${intport} != "-" ]] && intip="--dport ${intport}" + [[ ${intport} != "-" ]] && intport="--dport ${intport}" [[ ${address} != "-" ]] && address="-d ${address}" [[ ${srcaddress} != "-" ]] && srcaddress="-s ${srcaddress}"