mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 20:55:25 +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:
|
||||
vrf = nb_running_get_entry(args->dnode, NULL, true);
|
||||
pim = vrf->info;
|
||||
yang_dnode_get_pimaddr(&source_addr, args->dnode,
|
||||
"./source-addr");
|
||||
yang_dnode_get_pimaddr(&source_addr, args->dnode, NULL);
|
||||
result = pim_ssmpingd_start(pim, source_addr);
|
||||
if (result) {
|
||||
snprintf(
|
||||
@ -953,8 +952,7 @@ int routing_control_plane_protocols_control_plane_protocol_pim_address_family_ss
|
||||
case NB_EV_APPLY:
|
||||
vrf = nb_running_get_entry(args->dnode, NULL, true);
|
||||
pim = vrf->info;
|
||||
yang_dnode_get_pimaddr(&source_addr, args->dnode,
|
||||
"./source-addr");
|
||||
yang_dnode_get_pimaddr(&source_addr, args->dnode, NULL);
|
||||
result = pim_ssmpingd_stop(pim, source_addr);
|
||||
if (result) {
|
||||
snprintf(
|
||||
|
Loading…
Reference in New Issue
Block a user