X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fadmin-full%2Fluasrc%2Fmodel%2Fcbi%2Fadmin_network%2Fdhcp.lua;h=bd6f403c53002c9ed32e15d816a14a3a6af37d73;hp=7b5a42c22a7d4629f41771dd3dbbc6f4434be62c;hb=6f8daab6eb8eb2f1a8014afeee22793e39980db6;hpb=21aba9c483dab8ae4a261218a75bc632fc8143e7 diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua b/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua index 7b5a42c22..bd6f403c5 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua @@ -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"), @@ -241,6 +241,8 @@ mac.rmempty = true ip = s:option(Value, "ip", translate("IPv4-Address")) ip.datatype = "or(ip4addr,'ignore')" +hostid = s:option(Value, "hostid", translate("IPv6-Suffix (hex)")) + sys.net.arptable(function(entry) ip:value(entry["IP address"]) mac:value(