luci/po: spelling and grammar fixes by Alex Henrie
[project/luci.git] / modules / admin-full / luasrc / model / cbi / admin_network / dhcp.lua
index 98f9d8e..bd6f403 100644 (file)
@@ -86,7 +86,7 @@ s:taboption("advanced", Flag, "localise_queries",
 
 s:taboption("general", Value, "local",
        translate("Local server"),
-       translate("Local domain specification. Names matching this domain are never forwared and resolved from DHCP or hosts files only"))
+       translate("Local domain specification. Names matching this domain are never forwarded and are resolved from DHCP or hosts files only"))
 
 s:taboption("general", Value, "domain",
        translate("Local domain"),
@@ -239,7 +239,9 @@ 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')"
+
+hostid = s:option(Value, "hostid", translate("<abbr title=\"Internet Protocol Version 6\">IPv6</abbr>-Suffix (hex)"))
 
 sys.net.arptable(function(entry)
        ip:value(entry["IP address"])