Skip to content
Commit 5cbbfaba authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

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: default avatarJo-Philipp Wich <jo@mein.io>
parent 89475261
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment