1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 10:31:51 +00:00

Enable IPv6 on interfaces if IPv6 enabled globally

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-08-02 08:46:33 +02:00
parent a575dc7bb5
commit 3fde891a42

View file

@ -80,6 +80,8 @@ omr_set_settings() {
config_get disable_ipv6 settings disable_ipv6 "0"
if [ "$disable_ipv6" = "1" ]; then
uci -q set network.$1.ipv6=0
else
uci -q set network.$1.ipv6=1
fi
[ -z "$addlatency" ] && addlatency=0