add -w option to iptables.
see https://miniupnp.tuxfamily.org/forum/viewtopic.php?p=5113 Signed-off-by: Thomas Bernard <miniupnp@free.fr>
This commit is contained in:
parent
d3a7441aeb
commit
72005ce86a
|
@ -1,5 +1,5 @@
|
||||||
#! /bin/sh
|
#! /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) || {
|
IP=$(which ip) || {
|
||||||
echo "Can't find ip" >&2
|
echo "Can't find ip" >&2
|
||||||
|
@ -18,6 +18,7 @@ else
|
||||||
}
|
}
|
||||||
IP="$IP -6"
|
IP="$IP -6"
|
||||||
fi
|
fi
|
||||||
|
IPTABLES="$IPTABLES -w"
|
||||||
|
|
||||||
CHAIN=MINIUPNPD
|
CHAIN=MINIUPNPD
|
||||||
CLEAN=
|
CLEAN=
|
||||||
|
|
Loading…
Reference in New Issue