init.d: small optimize

This commit is contained in:
bol-van
2024-12-22 13:20:06 +03:00
parent 5df9b5d109
commit 8aabc8b743
3 changed files with 2 additions and 6 deletions

View File

@@ -90,9 +90,6 @@ TPWS_WAIT_SOCKS6="$TPWS_WAIT --bind-wait-ip-linklocal=30"
# first wait for lan to ifup, then wait for bind-wait-ip-linklocal seconds for link local address and bind-wait-ip for any ipv6 as the worst case
TPWS_OPT_BASE6_PRE="--bind-linklocal=prefer $TPWS_WAIT --bind-wait-ip-linklocal=3"
# max wait time for the link local ipv6 on the LAN interface
LINKLOCAL_WAIT_SEC=5
dnat6_target()
{
_dnat6_target "$@"