diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-05-21 11:48:57 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-05-21 11:48:57 +0000 |
commit | 2e37efc589c0992b17faac7080ceda911771b752 (patch) | |
tree | 63c1c99791d1e7b60f080a5d6ff06903e3918f08 /usr.sbin/bgpd/bgpd.c | |
parent | d4c14ca08570aece7248cfd6c54324ba9ab9c027 (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/bgpd.c')
-rw-r--r-- | usr.sbin/bgpd/bgpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c index 4f862f88f92..6cd92f39e83 100644 --- a/usr.sbin/bgpd/bgpd.c +++ b/usr.sbin/bgpd/bgpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.c,v 1.93 2004/05/07 10:06:15 djm Exp $ */ +/* $OpenBSD: bgpd.c,v 1.94 2004/05/21 11:48:56 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -386,7 +386,7 @@ reconfigure(char *conffile, struct bgpd_config *conf, struct mrt_head *mrt_l, &p->conf, sizeof(struct peer_config)) == -1) return (-1); while ((n = TAILQ_FIRST(&net_l)) != NULL) { - if (imsg_compose(&ibuf_rde, IMSG_RECONF_NETWORK, 0, + if (imsg_compose(&ibuf_rde, IMSG_NETWORK_ADD, 0, &n->net, sizeof(struct network_config)) == -1) return (-1); TAILQ_REMOVE(&net_l, n, network_l); |