summaryrefslogtreecommitdiff
path: root/usr.sbin/ospf6ctl
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2009-01-29 19:39:42 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2009-01-29 19:39:42 +0000
commitcca55b18a1dbd4cf370e50d5662a29eb6015b500 (patch)
tree59a05e8f6f421b1ff0e4a5910a4efa031f69192e /usr.sbin/ospf6ctl
parent63e0e5980c812f3d65bb3179c2efea54a83120a8 (diff)
Don't print a header line above every individual Intra-Area-Prefix LSA
in the detailed DB output. Now behaves the same as with other LSA types.
Diffstat (limited to 'usr.sbin/ospf6ctl')
-rw-r--r--usr.sbin/ospf6ctl/ospf6ctl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/ospf6ctl/ospf6ctl.c b/usr.sbin/ospf6ctl/ospf6ctl.c
index c315cb4abeb..9856349b930 100644
--- a/usr.sbin/ospf6ctl/ospf6ctl.c
+++ b/usr.sbin/ospf6ctl/ospf6ctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospf6ctl.c,v 1.21 2009/01/29 16:34:32 stsp Exp $ */
+/* $OpenBSD: ospf6ctl.c,v 1.22 2009/01/29 19:39:41 stsp Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -880,6 +880,9 @@ show_db_msg_detail(struct imsg *imsg)
off += sizeof(struct lsa_prefix)
+ LSA_PREFIXSIZE(prefix->prefixlen);
}
+
+ printf("\n");
+ lasttype = lsa->hdr.type;
break;
case IMSG_CTL_SHOW_DB_SUM:
lsa = imsg->data;