Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #5725

Category None
Changed by Jo-Philipp Wich <joohnoyoudont@mein.io>
Changed at Thu 23 Jan 2020 11:33:49
Repository https://git.openwrt.org/project/luci.git
Branch master
Revision 5cbbfaba3e2935b61b42fe339e78b3ff300c1619


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>

Changed files