mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 15:30:02 +00:00
ripd: Fix SA issues
The rinfo variable was being set but never used. We just need to call rip_ecmp_replace or rip_ecmp_add this function does not care about the return values because the rinfo returned is stored on the rip route entry. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
9de1f7ff13
commit
11ff71648e
@ -1512,10 +1512,10 @@ void rip_redistribute_add(int type, int sub_type, struct prefix_ipv4 *p,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rinfo = rip_ecmp_replace(&newinfo);
|
(void)rip_ecmp_replace(&newinfo);
|
||||||
route_unlock_node(rp);
|
route_unlock_node(rp);
|
||||||
} else
|
} else
|
||||||
rinfo = rip_ecmp_add(&newinfo);
|
(void)rip_ecmp_add(&newinfo);
|
||||||
|
|
||||||
if (IS_RIP_DEBUG_EVENT) {
|
if (IS_RIP_DEBUG_EVENT) {
|
||||||
zlog_debug(
|
zlog_debug(
|
||||||
|
Loading…
Reference in New Issue
Block a user