modules/admin-full: allow special value "ignore" for static lease ip address (#558)
This commit is contained in:
parent
6efd34e9ec
commit
21aba9c483
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ mac.datatype = "list(macaddr)"
|
|||
mac.rmempty = true
|
||||
|
||||
ip = s:option(Value, "ip", translate("<abbr title=\"Internet Protocol Version 4\">IPv4</abbr>-Address"))
|
||||
ip.datatype = "ip4addr"
|
||||
ip.datatype = "or(ip4addr,'ignore')"
|
||||
|
||||
sys.net.arptable(function(entry)
|
||||
ip:value(entry["IP address"])
|
||||
|
|
Loading…
Reference in a new issue