mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-18 14:01:30 +03:00
fix tpws ipv6 reload on interface change in openwrt
This commit is contained in:
parent
bbeee9d640
commit
cf320a7a2d
@ -19,7 +19,7 @@ check_need_to_reload_tpws6()
|
||||
# interface ifsets (wanif, wanif6, lanif) can be reloaded independently
|
||||
check_lan
|
||||
RELOAD_TPWS6=
|
||||
[ "$ACTION" = "ifup" -a "$DISABLE_IPV6" != 1 -a -n "$IS_LAN" ] && [ "$MODE" = "tpws" -o "$MODE" = "custom" ] && RELOAD_TPWS6=1
|
||||
[ "$ACTION" = "ifup" -a "$TPWS_ENABLE" = 1 -a "$DISABLE_IPV6" != 1 -a -n "$IS_LAN" ] && RELOAD_TPWS6=1
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user