summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2009-01-29 19:39:41 +0000
committerstsp <stsp@openbsd.org>2009-01-29 19:39:41 +0000
commit9415b30c859812b2cdc9fdb6d8acb14442c01b3e (patch)
tree1bef4a9b717bd3d25459967769710bb0d8f31432
parentDocument SIOCSIFPRIORITY and friend. Found on my HD. OK jmc@ (diff)
downloadwireguard-openbsd-9415b30c859812b2cdc9fdb6d8acb14442c01b3e.tar.xz
wireguard-openbsd-9415b30c859812b2cdc9fdb6d8acb14442c01b3e.zip
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.
-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;