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

Add IPv6 enable/disable setting to wizard page

This commit is contained in:
Ycarus 2018-08-16 16:57:34 +02:00
parent af7dfc1499
commit 1a4fef4b0e
2 changed files with 40 additions and 20 deletions

View file

@ -114,6 +114,16 @@
</div>
</div>
</div>
<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 %> />
<br />
<div class="cbi-value-description">
<%:You should disable IPv6 here if server doesn't provide IPv6.%>
</div>
</div>
</div>
</fieldset>
<fieldset class="cbi-section" id="interfaces">
<legend><%:Interfaces settings%></legend>