summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfctl
diff options
context:
space:
mode:
authorEsben Norby <norby@cvs.openbsd.org>2006-03-26 09:47:55 +0000
committerEsben Norby <norby@cvs.openbsd.org>2006-03-26 09:47:55 +0000
commitb857329627fed5fe3f93a9415db397d242dc036c (patch)
tree4351b35f7ec51a32eac0d6902c84184a65a84d74 /usr.sbin/ospfctl
parentd5ef1e055fc995764352b9b7a379f8daa036327d (diff)
Show the neighbor uptime in "show nei detail".
ok claudio@
Diffstat (limited to 'usr.sbin/ospfctl')
-rw-r--r--usr.sbin/ospfctl/ospfctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ospfctl/ospfctl.c b/usr.sbin/ospfctl/ospfctl.c
index 3d38b8f0f5b..5772466f1ae 100644
--- a/usr.sbin/ospfctl/ospfctl.c
+++ b/usr.sbin/ospfctl/ospfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfctl.c,v 1.31 2006/03/26 09:45:55 norby Exp $ */
+/* $OpenBSD: ospfctl.c,v 1.32 2006/03/26 09:47:54 norby Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -906,6 +906,7 @@ show_nbr_detail_msg(struct imsg *imsg)
printf(" Options %s\n", print_ospf_options(nbr->options));
printf(" Dead timer due in %s\n",
fmt_timeframe_core(nbr->dead_timer));
+ printf(" Uptime %s\n", fmt_timeframe_core(nbr->uptime));
printf(" Database Summary List %d\n", nbr->db_sum_lst_cnt);
printf(" Link State Request List %d\n", nbr->ls_req_lst_cnt);
printf(" Link State Retransmission List %d\n",