diff options
Diffstat (limited to 'proto/ospf/neighbor.c')
-rw-r--r-- | proto/ospf/neighbor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c index 7faa8ae..3590504 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 "; |