diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-05 16:21:15 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-05 16:21:15 +0000 |
commit | 6e56adbddd6bb7c2542638e0e08349ba11b0d64e (patch) | |
tree | ab6ee5e37d623046f338fcd313da966ee5dd363c /usr.sbin/bgpd/control.c | |
parent | 7b8f73fbe1bde0f99dfa7d43ba4152624aeb599d (diff) |
allow fib couple/decouple based on an imsg received on the control socket
by the SE and passed on to the main process
Diffstat (limited to 'usr.sbin/bgpd/control.c')
-rw-r--r-- | usr.sbin/bgpd/control.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/control.c b/usr.sbin/bgpd/control.c index 33c3472dab8..8620c48ca5d 100644 --- a/usr.sbin/bgpd/control.c +++ b/usr.sbin/bgpd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.9 2004/01/04 19:39:46 henning Exp $ */ +/* $OpenBSD: control.c,v 1.10 2004/01/05 16:21:14 henning Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -212,7 +212,9 @@ control_dispatch_msg(struct pollfd *pfd, int i) imsg_compose(&c->ibuf, IMSG_CTL_END, 0, NULL, 0); break; case IMSG_CTL_RELOAD: - imsg_compose_parent(IMSG_CTL_RELOAD, 0, NULL, 0); + case IMSG_CTL_FIB_COUPLE: + case IMSG_CTL_FIB_DECOUPLE: + imsg_compose_parent(imsg.hdr.type, 0, NULL, 0); break; default: break; |