luci/libs/luci-lib-ip
Jo-Philipp Wich b349428e16 luci-lib-ip: explicitly initialize address scope value
Explicitly initialize the address scope value to zero in parse_cidr() and
L_setaddr() to avoid stray scope identifiers getting added when formatting
the address object as string.

Fixes: 1d2b4c777 ("luci-lib-ip: support scoped IPv6 addresses")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 5cbbfaba3e)
2020-01-23 12:37:40 +01:00
..
src luci-lib-ip: explicitly initialize address scope value 2020-01-23 12:37:40 +01:00
Makefile luci-lib-ip: add license tag 2017-06-13 13:40:09 +02:00