summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospf6ctl/ospf6ctl.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2010-06-12 09:48:39 +0000
committerbluhm <bluhm@openbsd.org>2010-06-12 09:48:39 +0000
commit4091c10409e44c56858110d65cafe64b1fc26e64 (patch)
tree74aa8b784a7e48de934da530ade71bfa5d58cc45 /usr.sbin/ospf6ctl/ospf6ctl.c
parentPrint 'Number of Routers' in show database network. (diff)
downloadwireguard-openbsd-4091c10409e44c56858110d65cafe64b1fc26e64.tar.xz
wireguard-openbsd-4091c10409e44c56858110d65cafe64b1fc26e64.zip
Print additional new line after 'Number of Links' in show database
router. This separates the router and link blocks like ospfctl. ok claudio@
Diffstat (limited to 'usr.sbin/ospf6ctl/ospf6ctl.c')
-rw-r--r--usr.sbin/ospf6ctl/ospf6ctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospf6ctl/ospf6ctl.c b/usr.sbin/ospf6ctl/ospf6ctl.c
index 9ea9504ab4d..4cbce1727e5 100644
--- a/usr.sbin/ospf6ctl/ospf6ctl.c
+++ b/usr.sbin/ospf6ctl/ospf6ctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospf6ctl.c,v 1.34 2010/02/25 16:40:23 claudio Exp $ */
+/* $OpenBSD: ospf6ctl.c,v 1.35 2010/06/12 09:48:39 bluhm Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -851,7 +851,7 @@ show_db_msg_detail(struct imsg *imsg)
nlinks = (ntohs(lsa->hdr.len) - sizeof(struct lsa_hdr)
- sizeof(u_int32_t)) / sizeof(struct lsa_rtr_link);
- printf("Number of Links: %d\n", nlinks);
+ printf("Number of Links: %d\n\n", nlinks);
off = sizeof(lsa->hdr) + sizeof(struct lsa_rtr);