summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bgpd/session.c')
-rw-r--r--usr.sbin/bgpd/session.c7
1 files changed, 1 insertions, 6 deletions
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 <henning@openbsd.org>
@@ -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 +