diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-12-23 16:11:07 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-12-23 16:11:07 +0000 |
commit | 5e7369d11bb5713e0218ddd4f89de96d53da26a6 (patch) | |
tree | 77299a84994643c13c7654f9109fe6dc3d59b769 /usr.sbin | |
parent | c5753294e869c2ae302d31c19d945d39d09b2a15 (diff) |
do send session_down imsgs to RDE even if we are quitting
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bgpd/session.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c index 929132360ff..b8587a8a851 100644 --- a/usr.sbin/bgpd/session.c +++ b/usr.sbin/bgpd/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.28 2003/12/23 01:06:21 henning Exp $ */ +/* $OpenBSD: session.c,v 1.29 2003/12/23 16:11:06 henning Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -1301,9 +1301,8 @@ getpeerbyip(in_addr_t ip) void session_down(struct peer *peer) { - if (!session_quit) - imsg_compose(&ibuf_rde, IMSG_SESSION_DOWN, peer->conf.id, - NULL, 0); + imsg_compose(&ibuf_rde, IMSG_SESSION_DOWN, peer->conf.id, + NULL, 0); } void |