mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-14 19:41:51 +00:00
Get IPv6 status from config
This commit is contained in:
parent
3b5fd8b2aa
commit
7afbb152ca
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ end
|
|||
<div class="cbi-value">
|
||||
<label class="cbi-value-title"><%:Enable IPv6%></label>
|
||||
<div class="cbi-value-field">
|
||||
<input class="cbi-input-checkbox" type="checkbox" name="enableipv6" value="1" <% if tonumber((luci.sys.exec("sysctl net.ipv6.conf.all.disable_ipv6")):match(" %d+")) == 0 then %>checked<% end %> />
|
||||
<input class="cbi-input-checkbox" type="checkbox" name="enableipv6" value="1" <% if uci:get("openmptcprouter","settings","disable_ipv6") == 1 then %>checked<% end %> />
|
||||
<br />
|
||||
<div class="cbi-value-description">
|
||||
<%:You should disable IPv6 here if server doesn't provide IPv6.%>
|
||||
|
|
Loading…
Reference in a new issue