summaryrefslogtreecommitdiffstats
path: root/pimd/pim_str.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2022-01-04 21:24:48 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2022-01-17 14:02:18 +0100
commit98a81d2bffce9e5a80d0df35dfd0afff766dce0b (patch)
tree6b891dc73ade524cb97365ed737543f513c28b18 /pimd/pim_str.h
parentpimd: remove pim_str_sg_set() (diff)
downloadfrr-98a81d2bffce9e5a80d0df35dfd0afff766dce0b.tar.xz
frr-98a81d2bffce9e5a80d0df35dfd0afff766dce0b.zip
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_str.h')
-rw-r--r--pimd/pim_str.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/pimd/pim_str.h b/pimd/pim_str.h
index a148ed0cb..d3cae2436 100644
--- a/pimd/pim_str.h
+++ b/pimd/pim_str.h
@@ -58,6 +58,5 @@ void pim_addr_dump(const char *onfail, struct prefix *p, char *buf,
int buf_size);
void pim_inet4_dump(const char *onfail, struct in_addr addr, char *buf,
int buf_size);
-char *pim_str_sg_dump(const pim_sgaddr *sg);
#endif