summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2010-06-12 09:48:40 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2010-06-12 09:48:40 +0000
commit24d487ae9126e7e8074e4e76a4380298f0608b39 (patch)
tree221f2721d3ddbce7e5aa7f1024e1b4208ab4424e /usr.sbin
parent5e2c29d0d98f2de21071e677c33b4203f7e8c9bd (diff)
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')
-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);