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_upstream.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_upstream.c')
-rw-r--r-- | pimd/pim_upstream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_upstream.c b/pimd/pim_upstream.c index ef356213e..bc1d6558d 100644 --- a/pimd/pim_upstream.c +++ b/pimd/pim_upstream.c @@ -873,7 +873,7 @@ static struct pim_upstream *pim_upstream_new(struct pim_instance *pim, up->pim = pim; up->sg = *sg; - pim_str_sg_set(sg, up->sg_str); + snprintfrr(up->sg_str, sizeof(up->sg_str), "%pSG", sg); if (ch) ch->upstream = up; |