summaryrefslogtreecommitdiff
path: root/proto/ospf/neighbor.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/ospf/neighbor.c')
-rw-r--r--proto/ospf/neighbor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c
index 7faa8ae9..35905048 100644
--- a/proto/ospf/neighbor.c
+++ b/proto/ospf/neighbor.c
@@ -500,11 +500,11 @@ ospf_sh_neigh_info(struct ospf_neighbor *n)
min=(exp-sec)/60;
if(min>59)
{
- sprintf(etime,"-Inf-");
+ bsprintf(etime,"-Inf-");
}
else
{
- sprintf(etime,"%02u:%02u", min, sec);
+ bsprintf(etime,"%02u:%02u", min, sec);
}
if(n->rid==ifa->drid) pos="dr ";