summaryrefslogtreecommitdiff
path: root/proto/ospf/neighbor.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-01 16:26:59 +0000
committerOndrej Filip <feela@network.cz>2000-06-01 16:26:59 +0000
commit4ab4e9778f35f8a123ee6bbc2387b9870859b707 (patch)
tree23b767755892747887dcd4336f13818058975c51 /proto/ospf/neighbor.c
parentcf318e3cd3206ad6a459a01e29e8494a100a67eb (diff)
show ospf implemented.
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 ";