mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Small ipv6 changes
This commit is contained in:
parent
378920a4d3
commit
bca4d03429
1 changed files with 2 additions and 0 deletions
|
@ -1211,10 +1211,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")
|
||||
--luci.sys.call("uci -q del network.lan.ipifaceid")
|
||||
else
|
||||
-- ucic:set("dhcp","lan","ra_default","1")
|
||||
ucic:set("network","lan","ipv6","1")
|
||||
ucic:set("network","lan","delegate","0")
|
||||
--ucic:set("network","lan","ipifaceid","random")
|
||||
end
|
||||
ucic:save("network")
|
||||
ucic:commit("network")
|
||||
|
|
Loading…
Reference in a new issue