summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2004-08-10 14:06:54 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2004-08-10 14:06:54 +0000
commit7deedfce7ab5da1ddf0e25e5188f74733c3a4dfe (patch)
tree5354947a627009282c26cff99aa84117ca2d8104 /usr.sbin/bgpd/rde.c
parentea8ba24e20eb2a90a17f95d128204b97cbde6b1b (diff)
Gahhh, why is this still around? It was never necessary to inform the parent
after fd passing. I thought I removed that some time ago... anyway now it is gone.
Diffstat (limited to 'usr.sbin/bgpd/rde.c')
-rw-r--r--usr.sbin/bgpd/rde.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c
index 220b5666ac2..5f60302e60e 100644
--- a/usr.sbin/bgpd/rde.c
+++ b/usr.sbin/bgpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.140 2004/08/10 13:02:08 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.141 2004/08/10 14:06:53 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -474,11 +474,6 @@ rde_dispatch_imsg_parent(struct imsgbuf *ibuf)
log_warnx("expected to receive fd for mrt dump "
"but didn't receive any");
- /* tell parent to close fd */
- if (imsg_compose(&ibuf_main, IMSG_MRT_CLOSE, 0,
- xmrt, sizeof(struct mrt)) == -1)
- log_warn("rde_dispatch_imsg_parent: mrt close");
-
if (xmrt->type == MRT_TABLE_DUMP) {
/* do not dump if a other is still running */
if (mrt == NULL || mrt->queued == 0) {