diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-28 14:21:01 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-28 14:21:04 +0100 |
commit | e6e74b712fe6fd87cb19e89203e4ef45d7459458 (patch) | |
tree | c969bfd546f7cc784d39950d33ad0fbe2b69ac37 /modules | |
parent | 65f0135491112341fc3af8559537eab85aa47e18 (diff) |
luci-lib-ip: add functions to deal with IPv6 mapped IPv6
* Add luci.ip.cidr.is6mapped4() to test whether an IPv6 CIDR is a mapped IPv4 one
* Add luci.ip.cidr.mapped4() to derive IPv4 from mapped CIDR
* Remove mapped IPv4 workaround from constructor as it breaks genuine addrs like ::ffff:0
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'modules')
0 files changed, 0 insertions, 0 deletions