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

Add back gateway for DHCP and fix get public IP and netstat

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-08-07 08:05:51 +02:00
parent 7165fb2df1
commit 35d65227ac
4 changed files with 29 additions and 8 deletions

View file

@ -306,6 +306,9 @@ end
ip = s:option(Value, "ip", translate("<abbr title=\"Internet Protocol Version 4\">IPv4</abbr>-Address"))
ip.datatype = "or(ip4addr,'ignore')"
gw = s:option(Value, "gw", translate("Gateway IPv4 Address"))
gw.datatype = "or(ip4addr,'ignore')"
time = s:option(Value, "leasetime", translate("Lease time"))
time.rmempty = true