summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorjan <jan@cvs.openbsd.org>2020-08-21 08:32:24 +0000
committerjan <jan@cvs.openbsd.org>2020-08-21 08:32:24 +0000
commit193a555671b1ec4590b8bbed137865098439c487 (patch)
tree4f9dbad10e503cb284cfe5b3a5d189218cdeeb1a /usr.sbin
parent1d285e28ef5b46da36906624819942b2a3042080 (diff)
Remove redundent code.
OK claudio@, looks fine from tb@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ospf6d/rde_lsdb.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/ospf6d/rde_lsdb.c b/usr.sbin/ospf6d/rde_lsdb.c
index 1bc1ce08150..82bf496d1c6 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.43 2020/02/17 08:12:22 denis Exp $ */
+/* $OpenBSD: rde_lsdb.c,v 1.44 2020/08/21 08:32:23 jan Exp $ */
/*
* Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org>
@@ -763,9 +763,7 @@ lsa_dump(struct lsa_tree *tree, int imsg_type, pid_t pid)
lsa_age(v);
switch (imsg_type) {
case IMSG_CTL_SHOW_DATABASE:
- rde_imsg_compose_ospfe(IMSG_CTL_SHOW_DATABASE, 0, pid,
- &v->lsa->hdr, ntohs(v->lsa->hdr.len));
- continue;
+ break;
case IMSG_CTL_SHOW_DB_SELF:
if (v->lsa->hdr.adv_rtr == rde_router_id())
break;