diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-10-08 07:03:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-08 07:03:52 +0200 |
commit | ecfcd6c20aa6e9312ac490b6289dd11dccec97da (patch) | |
tree | 5ce994ceedf252d601b33b3e86e92393d3016bf2 | |
parent | Merge pull request #17015 from LabNConsulting/chopps/load-internal-ietf-yang-... (diff) | |
parent | pimd: fix a possible crash when enabling debug autorp (diff) | |
download | frr-ecfcd6c20aa6e9312ac490b6289dd11dccec97da.tar.xz frr-ecfcd6c20aa6e9312ac490b6289dd11dccec97da.zip |
Merge pull request #17024 from Jafaral/fix-autorp
pimd: fix a possible crash when enabling debug autorp
-rw-r--r-- | pimd/pim_autorp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_autorp.c b/pimd/pim_autorp.c index 1f4d0c65a..35347a279 100644 --- a/pimd/pim_autorp.c +++ b/pimd/pim_autorp.c @@ -290,8 +290,8 @@ static bool pim_autorp_add_rp(struct pim_autorp *autorp, pim_addr rpaddr, event_add_timer(router->master, autorp_rp_holdtime, trp, holdtime, &(trp->hold_timer)); if (PIM_DEBUG_AUTORP) - zlog_debug("%s: Started %u second hold timer for RP %pI4", - __func__, holdtime, &rp->addr); + zlog_debug("%s: Started %u second hold timer for RP %pI4", __func__, + holdtime, &trp->addr); } else { /* If hold time is zero, make sure there doesn't exist a hold timer for it already */ event_cancel(&trp->hold_timer); |