Skip to content

Commit

Permalink
Merge pull request #15208 from FRRouting/mergify/bp/stable/8.5/pr-15197
Browse files Browse the repository at this point in the history
pimd: fix crash when configuring ssmpingd (backport #15197)
  • Loading branch information
donaldsharp authored Jan 24, 2024
2 parents b4c3ebe + 236c85f commit 96c4264
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pimd/pim_nb_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -975,8 +975,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(
Expand Down Expand Up @@ -1006,8 +1005,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(
Expand Down

0 comments on commit 96c4264

Please sign in to comment.