diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-08-10 14:06:54 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-08-10 14:06:54 +0000 |
commit | 7deedfce7ab5da1ddf0e25e5188f74733c3a4dfe (patch) | |
tree | 5354947a627009282c26cff99aa84117ca2d8104 /usr.sbin/bgpd/session.c | |
parent | ea8ba24e20eb2a90a17f95d128204b97cbde6b1b (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/session.c')
-rw-r--r-- | usr.sbin/bgpd/session.c | 7 |
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 + |