From 7d886ace366d1e7cb5b635c38a7e5b3449f993fb Mon Sep 17 00:00:00 2001 From: Esben Norby Date: Fri, 6 May 2005 06:59:59 +0000 Subject: Fix a display bug in 'show database', when ospfd is member of more than one area. Input from claudio. ok claudio@ --- usr.sbin/ospfctl/ospfctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.sbin/ospfctl/ospfctl.c b/usr.sbin/ospfctl/ospfctl.c index abaead460d5..3878f527f74 100644 --- a/usr.sbin/ospfctl/ospfctl.c +++ b/usr.sbin/ospfctl/ospfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfctl.c,v 1.12 2005/04/16 21:52:57 claudio Exp $ */ +/* $OpenBSD: ospfctl.c,v 1.13 2005/05/06 06:59:58 norby Exp $ */ /* * Copyright (c) 2005 Claudio Jeker @@ -547,6 +547,7 @@ show_database_msg(struct imsg *imsg) case IMSG_CTL_AREA: area = imsg->data; area_id = area->id; + lasttype = 0; break; case IMSG_CTL_END: return (1); -- cgit v1.2.3