summaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-01-28 14:21:01 +0100
committerJo-Philipp Wich <jow@openwrt.org>2015-01-28 14:21:04 +0100
commite6e74b712fe6fd87cb19e89203e4ef45d7459458 (patch)
treec969bfd546f7cc784d39950d33ad0fbe2b69ac37 /contrib
parent65f0135491112341fc3af8559537eab85aa47e18 (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 'contrib')
0 files changed, 0 insertions, 0 deletions