diff options
author | Esben Norby <norby@cvs.openbsd.org> | 2005-05-06 06:59:59 +0000 |
---|---|---|
committer | Esben Norby <norby@cvs.openbsd.org> | 2005-05-06 06:59:59 +0000 |
commit | 7d886ace366d1e7cb5b635c38a7e5b3449f993fb (patch) | |
tree | 178d1953754683624ed1a4a6b21067e488237995 | |
parent | ceb476bb295d2614fe527489be20a7d095e5c958 (diff) |
Fix a display bug in 'show database', when ospfd is member of more
than one area.
Input from claudio.
ok claudio@
-rw-r--r-- | usr.sbin/ospfctl/ospfctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <claudio@openbsd.org> @@ -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); |