diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-02-13 14:29:21 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-02-16 17:05:48 +0100 |
commit | 3e1e4d5eb6b1cbb3125dbd33f6636337c6070784 (patch) | |
tree | a1ef150c0a7d53cea73915703f474086f3b02067 /applications/luci-app-minidlna/root/etc/uci-defaults | |
parent | 76f9f5e94d4fdccb4bc59333d89368cb8d264805 (diff) |
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>
Diffstat (limited to 'applications/luci-app-minidlna/root/etc/uci-defaults')
0 files changed, 0 insertions, 0 deletions