luci/modules/luci-base/luasrc/cbi
Jo-Philipp Wich 3e1e4d5eb6 luci-base: fix Lua-side ip6hostid() datatype validation
A valid host ID as accepted by netifd must meet the following criteria:

 - Is either one of the two special "random" or "eui64" strings
 - Or is a valid IPv6 address according to inet_pton(AF_INET6)
 - Has the first 64 bit set to zero

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-02-16 17:05:48 +01:00
..
datatypes.lua luci-base: fix Lua-side ip6hostid() datatype validation 2018-02-16 17:05:48 +01:00