1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix IPv6 NAT66 support

This commit is contained in:
Ycarus 2019-03-11 19:35:49 +01:00
parent 0ba9a34100
commit d88541cddc
4 changed files with 9 additions and 7 deletions

View file

@ -1189,12 +1189,12 @@ function set_ipv6_state(disable_ipv6)
if disable_ipv6 == "1" then
ucic:set("dhcp","lan","ra_default","0")
ucic:set("network","lan","ipv6","0")
--else
else
-- ucic:set("dhcp","lan","ra_default","1")
ucic:set("network","lan","ipv6","1")
ucic:set("network","lan","delegate","0")
end
ucic:set("network","lan","ipv6","0")
-- Disable/Enable IPv6 DHCP and change Shadowsocks listen address
if disable_ipv6 == "1" then
luci.sys.call("uci -q del dhcp.lan.dhcpv6")