diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2022-01-04 21:24:48 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2022-01-17 14:02:18 +0100 |
| commit | 98a81d2bffce9e5a80d0df35dfd0afff766dce0b (patch) | |
| tree | 6b891dc73ade524cb97365ed737543f513c28b18 /pimd/pim_msdp.c | |
| parent | 9bace5c2d389c7839ad3e949712728c938493e53 (diff) | |
pimd: remove pim_str_sg_dump()
... and replace with `%pSG` printfrr specifier. This actually used a
static buffer in the formatting function, so subsequent formatting would
overwrite earlier uses.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_msdp.c')
| -rw-r--r-- | pimd/pim_msdp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_msdp.c b/pimd/pim_msdp.c index ec9ee3dc75..1e91a931b7 100644 --- a/pimd/pim_msdp.c +++ b/pimd/pim_msdp.c @@ -646,7 +646,7 @@ static void pim_msdp_up_xg_del(struct pim_instance *pim, pim_sgaddr *sg) struct pim_msdp_sa *sa; if (PIM_DEBUG_MSDP_INTERNAL) { - zlog_debug("MSDP %s del", pim_str_sg_dump(sg)); + zlog_debug("MSDP %pSG del", sg); } /* If this is not really an XG entry just move on */ @@ -667,7 +667,7 @@ static void pim_msdp_up_xg_del(struct pim_instance *pim, pim_sgaddr *sg) void pim_msdp_up_del(struct pim_instance *pim, pim_sgaddr *sg) { if (PIM_DEBUG_MSDP_INTERNAL) { - zlog_debug("MSDP up %s del", pim_str_sg_dump(sg)); + zlog_debug("MSDP up %pSG del", sg); } if (sg->src.s_addr == INADDR_ANY) { pim_msdp_up_xg_del(pim, sg); |
