summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornorby <norby@openbsd.org>2005-05-26 06:07:47 +0000
committernorby <norby@openbsd.org>2005-05-26 06:07:47 +0000
commit15904804bf9d598b6f16a8e7427fc22e67b509d9 (patch)
treeb193c6404c8c7c1d58112acb8c6d24f9813437b7
parentenable cardbus rtw(4) on macppc. (diff)
downloadwireguard-openbsd-15904804bf9d598b6f16a8e7427fc22e67b509d9.tar.xz
wireguard-openbsd-15904804bf9d598b6f16a8e7427fc22e67b509d9.zip
Fix multi area display bug.
ok claudio@
-rw-r--r--usr.sbin/ospfctl/ospfctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ospfctl/ospfctl.c b/usr.sbin/ospfctl/ospfctl.c
index 539cf063804..9229deac407 100644
--- a/usr.sbin/ospfctl/ospfctl.c
+++ b/usr.sbin/ospfctl/ospfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfctl.c,v 1.15 2005/05/22 20:01:47 norby Exp $ */
+/* $OpenBSD: ospfctl.c,v 1.16 2005/05/26 06:07:47 norby Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -803,6 +803,7 @@ show_db_msg_detail(struct imsg *imsg)
case IMSG_CTL_AREA:
area = imsg->data;
area_id = area->id;
+ lasttype = 0;
break;
case IMSG_CTL_END:
return (1);