diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-11-05 11:19:17 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-11-05 11:19:52 +0100 |
commit | 58fc7028055a84898eb63a8995abc71105b53f6e (patch) | |
tree | 5c52f2c3218bc8346e114ddaf71e102debc4e669 | |
parent | 9dda4c651c93a32753af1b833f94bd7aefc5f97a (diff) |
luci-base: validate DHCP clientid as hexstring
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | modules/luci-base/luasrc/model/cbi/admin_network/proto_dhcp.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/luci-base/luasrc/model/cbi/admin_network/proto_dhcp.lua b/modules/luci-base/luasrc/model/cbi/admin_network/proto_dhcp.lua index dc702e4a9..6e04465ac 100644 --- a/modules/luci-base/luasrc/model/cbi/admin_network/proto_dhcp.lua +++ b/modules/luci-base/luasrc/model/cbi/admin_network/proto_dhcp.lua @@ -53,6 +53,7 @@ metric.datatype = "uinteger" clientid = section:taboption("advanced", Value, "clientid", translate("Client ID to send when requesting DHCP")) +clientid.datatype = "hexstring" vendorclass = section:taboption("advanced", Value, "vendorid", |