From cca55b18a1dbd4cf370e50d5662a29eb6015b500 Mon Sep 17 00:00:00 2001 From: Stefan Sperling Date: Thu, 29 Jan 2009 19:39:42 +0000 Subject: 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. --- usr.sbin/ospf6ctl/ospf6ctl.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usr.sbin') 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 @@ -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; -- cgit v1.2.3