summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorjan <jan@cvs.openbsd.org>2020-08-21 10:17:36 +0000
committerjan <jan@cvs.openbsd.org>2020-08-21 10:17:36 +0000
commit5d3a8e0c3d2ea50b552a420b15e15b890f735a06 (patch)
treeab562a2c66291e26a51db3e93487885dddc137cb /usr.sbin
parent193a555671b1ec4590b8bbed137865098439c487 (diff)
Fix wrong fall through. The IMSG_CTL_SHOW_DB_INTRA case should only
send back LSA with type LSA_TYPE_INTRA_A_PREFIX. LSA_TYPE_INTER_A_PREFIX should not be included there. OK claudio@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ospf6d/rde_lsdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ospf6d/rde_lsdb.c b/usr.sbin/ospf6d/rde_lsdb.c
index 82bf496d1c6..2c89145d290 100644
--- a/usr.sbin/ospf6d/rde_lsdb.c
+++ b/usr.sbin/ospf6d/rde_lsdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde_lsdb.c,v 1.44 2020/08/21 08:32:23 jan Exp $ */
+/* $OpenBSD: rde_lsdb.c,v 1.45 2020/08/21 10:17:35 jan Exp $ */
/*
* Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org>
@@ -787,6 +787,7 @@ lsa_dump(struct lsa_tree *tree, int imsg_type, pid_t pid)
case IMSG_CTL_SHOW_DB_INTRA:
if (v->type == LSA_TYPE_INTRA_A_PREFIX)
break;
+ continue;
case IMSG_CTL_SHOW_DB_SUM:
if (v->type == LSA_TYPE_INTER_A_PREFIX)
break;