diff options
Diffstat (limited to 'proto/rip/rip.c')
-rw-r--r-- | proto/rip/rip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c index 4634ae1..e885877 100644 --- a/proto/rip/rip.c +++ b/proto/rip/rip.c @@ -504,8 +504,8 @@ rip_dump(struct proto *p) static void rip_get_route_info(rte *rte, byte *buf) { - buf += sprintf(buf, " (%d/%d)", rte->pref, rte->u.rip.metric ); - sprintf(buf, " t%04x", rte->u.rip.tag ); + buf += bsprintf(buf, " (%d/%d)", rte->pref, rte->u.rip.metric ); + bsprintf(buf, " t%04x", rte->u.rip.tag ); } static int |