summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfctl
diff options
context:
space:
mode:
authorEsben Norby <norby@cvs.openbsd.org>2005-05-27 00:51:53 +0000
committerEsben Norby <norby@cvs.openbsd.org>2005-05-27 00:51:53 +0000
commite8e98340a84c79a03d25846a5cfede828f178261 (patch)
tree27feffe77f5fb1e6127243e990544f92e877e72b /usr.sbin/ospfctl
parent1b5dc1fadef4cb61991834f7aeadfb8642b45056 (diff)
Small formatting bits in show neighbor detail.
ok claudio@
Diffstat (limited to 'usr.sbin/ospfctl')
-rw-r--r--usr.sbin/ospfctl/ospfctl.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/ospfctl/ospfctl.c b/usr.sbin/ospfctl/ospfctl.c
index 9229deac407..789bb7e8a50 100644
--- a/usr.sbin/ospfctl/ospfctl.c
+++ b/usr.sbin/ospfctl/ospfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfctl.c,v 1.16 2005/05/26 06:07:47 norby Exp $ */
+/* $OpenBSD: ospfctl.c,v 1.17 2005/05/27 00:51:52 norby Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -865,16 +865,15 @@ show_nbr_detail_msg(struct imsg *imsg)
nbr = imsg->data;
printf("\nNeighbor %s, ", inet_ntoa(nbr->id));
printf("interface address %s\n", inet_ntoa(nbr->addr));
- printf(" In the area %s via interface %s\n",
- inet_ntoa(nbr->area), nbr->name);
+ printf(" Area %s, interface %s\n", inet_ntoa(nbr->area),
+ nbr->name);
printf(" Neighbor priority is %d, "
"State is %s, %d state changes\n",
nbr->priority, print_nbr_state(nbr->nbr_state),
nbr->state_chng_cnt);
printf(" DR is %s, ", inet_ntoa(nbr->dr));
printf("BDR is %s\n", inet_ntoa(nbr->bdr));
- printf(" Options is 0x%x %s\n", nbr->options,
- print_ospf_options(nbr->options));
+ printf(" Options %s\n", print_ospf_options(nbr->options));
printf(" Dead timer due in %s\n",
fmt_timeframe_core(nbr->dead_timer));
printf(" Database Summary List %d\n", nbr->db_sum_lst_cnt);