diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-05-27 21:24:37 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-05-27 21:24:37 +0000 |
commit | 8170c37f9a8981056680aa66004e3454464d4987 (patch) | |
tree | f5ab4c9899d626d9c2f5e9fcef1881e748602648 /usr.sbin/bgpd/session.c | |
parent | 2d85c039d9f9bf43ce8804f85cd1bfe2ebc07774 (diff) |
Pass a IMSG_CTL_RESULT messgae back to bgpctl on reloads to indicate if
the reload was successful or not. OK henning@
Diffstat (limited to 'usr.sbin/bgpd/session.c')
-rw-r--r-- | usr.sbin/bgpd/session.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c index f537113c18e..a2317feffde 100644 --- a/usr.sbin/bgpd/session.c +++ b/usr.sbin/bgpd/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.248 2006/05/27 15:43:13 claudio Exp $ */ +/* $OpenBSD: session.c,v 1.249 2006/05/27 21:24:36 claudio Exp $ */ /* * Copyright (c) 2003, 2004, 2005 Henning Brauer <henning@openbsd.org> @@ -2394,6 +2394,7 @@ session_dispatch_imsg(struct imsgbuf *ibuf, int idx, u_int *listener_cnt) control_imsg_relay(&imsg); break; case IMSG_CTL_END: + case IMSG_CTL_RESULT: control_imsg_relay(&imsg); break; case IMSG_UPDATE: |