mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 05:00:23 +00:00
Merge pull request #15197 from idryzhov/pim-nb-fix
pimd: fix crash when configuring ssmpingd
This commit is contained in:
commit
edd4a8571d
@ -922,8 +922,7 @@ int routing_control_plane_protocols_control_plane_protocol_pim_address_family_ss
|
|||||||
case NB_EV_APPLY:
|
case NB_EV_APPLY:
|
||||||
vrf = nb_running_get_entry(args->dnode, NULL, true);
|
vrf = nb_running_get_entry(args->dnode, NULL, true);
|
||||||
pim = vrf->info;
|
pim = vrf->info;
|
||||||
yang_dnode_get_pimaddr(&source_addr, args->dnode,
|
yang_dnode_get_pimaddr(&source_addr, args->dnode, NULL);
|
||||||
"./source-addr");
|
|
||||||
result = pim_ssmpingd_start(pim, source_addr);
|
result = pim_ssmpingd_start(pim, source_addr);
|
||||||
if (result) {
|
if (result) {
|
||||||
snprintf(
|
snprintf(
|
||||||
@ -953,8 +952,7 @@ int routing_control_plane_protocols_control_plane_protocol_pim_address_family_ss
|
|||||||
case NB_EV_APPLY:
|
case NB_EV_APPLY:
|
||||||
vrf = nb_running_get_entry(args->dnode, NULL, true);
|
vrf = nb_running_get_entry(args->dnode, NULL, true);
|
||||||
pim = vrf->info;
|
pim = vrf->info;
|
||||||
yang_dnode_get_pimaddr(&source_addr, args->dnode,
|
yang_dnode_get_pimaddr(&source_addr, args->dnode, NULL);
|
||||||
"./source-addr");
|
|
||||||
result = pim_ssmpingd_stop(pim, source_addr);
|
result = pim_ssmpingd_stop(pim, source_addr);
|
||||||
if (result) {
|
if (result) {
|
||||||
snprintf(
|
snprintf(
|
||||||
|
Loading…
Reference in New Issue
Block a user