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 | Merge pull request #10350 from Drumato/fix-zebra-srv6-segment-routing-block (diff) | |
download | frr-9bace5c2d389c7839ad3e949712728c938493e53.tar.xz frr-9bace5c2d389c7839ad3e949712728c938493e53.zip |
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 180ed69fd..1ec17cfab 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; } |