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_upstream.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_upstream.c')
| -rw-r--r-- | pimd/pim_upstream.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_upstream.c b/pimd/pim_upstream.c index bc1d6558de..8a9a9f9733 100644 --- a/pimd/pim_upstream.c +++ b/pimd/pim_upstream.c @@ -1092,8 +1092,8 @@ struct pim_upstream *pim_upstream_add(struct pim_instance *pim, pim_sgaddr *sg,                     up->rpf.source_nexthop.interface->name : "Unknown" ,  		   found, up->ref_count);  		else -			zlog_debug("%s(%s): (%s) failure to create", __func__, -				   name, pim_str_sg_dump(sg)); +			zlog_debug("%s(%s): (%pSG) failure to create", __func__, +				   name, sg);  	}  	return up;  | 
