mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-06 18:24:22 +00:00
Merge pull request #8697 from idryzhov/fix-zebra-con
zebra: fix possible uninitialized value
This commit is contained in:
commit
3532ab1ffb
@ -277,7 +277,7 @@ void connected_up(struct interface *ifp, struct connected *ifc)
|
||||
* resolve to the same network and mask
|
||||
*/
|
||||
for (ALL_LIST_ELEMENTS_RO(ifp->connected, cnode, c)) {
|
||||
struct prefix cp;
|
||||
struct prefix cp = {0};
|
||||
|
||||
PREFIX_COPY(&cp, CONNECTED_PREFIX(c));
|
||||
apply_mask(&cp);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user