diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2022-01-04 21:10:37 +0100 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2022-01-17 14:00:04 +0100 | 
| commit | 9bace5c2d389c7839ad3e949712728c938493e53 (patch) | |
| tree | ac1e24583977f5c55f5a7bf2b7a91de8cbedf37e /pimd/pim_str.c | |
| parent | 1f325f84383bfd1fce5fd5a14db66d2b931e27c6 (diff) | |
pimd: remove pim_str_sg_set()
... and replace with `%pSG` printfrr specifier.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_str.c')
| -rw-r--r-- | pimd/pim_str.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_str.c b/pimd/pim_str.c index 180ed69fd2..1ec17cfab2 100644 --- a/pimd/pim_str.c +++ b/pimd/pim_str.c @@ -46,7 +46,7 @@ char *pim_str_sg_dump(const pim_sgaddr *sg)  {  	static char sg_str[PIM_SG_LEN]; -	pim_str_sg_set(sg, sg_str); +	snprintfrr(sg_str, sizeof(sg_str), "%pSG", sg);  	return sg_str;  }  | 
