From 72005ce86a05fd3a185e78dee8d20e2c646ad6e8 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Tue, 29 May 2018 12:26:33 +0200 Subject: [PATCH] add -w option to iptables. see https://miniupnp.tuxfamily.org/forum/viewtopic.php?p=5113 Signed-off-by: Thomas Bernard --- miniupnpd/netfilter/miniupnpd_functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/miniupnpd/netfilter/miniupnpd_functions.sh b/miniupnpd/netfilter/miniupnpd_functions.sh index 20c7a1c..3869646 100755 --- a/miniupnpd/netfilter/miniupnpd_functions.sh +++ b/miniupnpd/netfilter/miniupnpd_functions.sh @@ -1,5 +1,5 @@ #! /bin/sh -# $Id: miniupnpd_functions.sh,v 1.1 2018/02/24 12:15:19 nanard Exp $ +# $Id: miniupnpd_functions.sh,v 1.2 2018/05/29 10:25:44 nanard Exp $ IP=$(which ip) || { echo "Can't find ip" >&2 @@ -18,6 +18,7 @@ else } IP="$IP -6" fi +IPTABLES="$IPTABLES -w" CHAIN=MINIUPNPD CLEAN=