From 7deedfce7ab5da1ddf0e25e5188f74733c3a4dfe Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Tue, 10 Aug 2004 14:06:54 +0000 Subject: 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. --- usr.sbin/bgpd/session.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'usr.sbin/bgpd/session.c') diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c index a4c212a320e..1f2f34984f9 100644 --- a/usr.sbin/bgpd/session.c +++ b/usr.sbin/bgpd/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.185 2004/08/06 11:51:19 claudio Exp $ */ +/* $OpenBSD: session.c,v 1.186 2004/08/10 14:06:53 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -2185,11 +2185,6 @@ session_dispatch_imsg(struct imsgbuf *ibuf, int idx, u_int *listener_cnt) close(mrt->fd); mrt->fd = xmrt.fd; } - - /* tell parent to close fd */ - if (imsg_compose(&ibuf_main, IMSG_MRT_CLOSE, 0, - &xmrt, sizeof(struct mrt)) == -1) - log_warn("session_dispatch_imsg: mrt close"); break; case IMSG_MRT_CLOSE: if (imsg.hdr.len > IMSG_HEADER_SIZE + -- cgit v1.2.3