mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 03:28:31 +00:00
pimd: Fix c_oil->pim set spot
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
c2cf4b0230
commit
2e4e8571f0
@ -109,7 +109,6 @@ int pim_static_add(struct interface *iif, struct interface *oif,
|
|||||||
|
|
||||||
pim_ifp = iif->info;
|
pim_ifp = iif->info;
|
||||||
pim = pim_ifp->pim;
|
pim = pim_ifp->pim;
|
||||||
s_route->c_oil.pim = pim;
|
|
||||||
|
|
||||||
for (ALL_LIST_ELEMENTS_RO(qpim_static_route_list, node, s_route)) {
|
for (ALL_LIST_ELEMENTS_RO(qpim_static_route_list, node, s_route)) {
|
||||||
if (s_route->group.s_addr == group.s_addr
|
if (s_route->group.s_addr == group.s_addr
|
||||||
@ -193,6 +192,8 @@ int pim_static_add(struct interface *iif, struct interface *oif,
|
|||||||
listnode_add(qpim_static_route_list, s_route);
|
listnode_add(qpim_static_route_list, s_route);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
s_route->c_oil.pim = pim;
|
||||||
|
|
||||||
if (pim_mroute_add(&s_route->c_oil, __PRETTY_FUNCTION__)) {
|
if (pim_mroute_add(&s_route->c_oil, __PRETTY_FUNCTION__)) {
|
||||||
char gifaddr_str[INET_ADDRSTRLEN];
|
char gifaddr_str[INET_ADDRSTRLEN];
|
||||||
char sifaddr_str[INET_ADDRSTRLEN];
|
char sifaddr_str[INET_ADDRSTRLEN];
|
||||||
|
Loading…
Reference in New Issue
Block a user