summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2004-05-21 11:48:57 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2004-05-21 11:48:57 +0000
commit2e37efc589c0992b17faac7080ceda911771b752 (patch)
tree63c1c99791d1e7b60f080a5d6ff06903e3918f08 /usr.sbin/bgpd/session.c
parentd4c14ca08570aece7248cfd6c54324ba9ab9c027 (diff)
Add support for dynamic announcements. Usefule to annouce temporary
blackhole routes or to make network announcements dependent on a external state (e.g. for carp setups) OK henning@
Diffstat (limited to 'usr.sbin/bgpd/session.c')
-rw-r--r--usr.sbin/bgpd/session.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c
index 12e41cbda68..086d44df291 100644
--- a/usr.sbin/bgpd/session.c
+++ b/usr.sbin/bgpd/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.169 2004/05/08 11:22:43 henning Exp $ */
+/* $OpenBSD: session.c,v 1.170 2004/05/21 11:48:56 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -1986,6 +1986,7 @@ session_dispatch_imsg(struct imsgbuf *ibuf, int idx)
break;
case IMSG_CTL_SHOW_RIB:
case IMSG_CTL_SHOW_RIB_PREFIX:
+ case IMSG_CTL_SHOW_NETWORK:
if (idx != PFD_PIPE_ROUTE)
fatalx("ctl rib request not from RDE");
control_imsg_relay(&imsg);