diff options
author | David Lamparter <equinox@diac24.net> | 2012-04-16 13:54:37 +0200 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2012-04-16 13:54:53 +0200 |
commit | 9bb5870e26a4089f599b24adf822c4d1a9870a44 (patch) | |
tree | e4309095a512239ab47b5b0851d9d6fc596398cd /bgpd/bgp_main.c | |
parent | a25a44dba84e9a6ac2b87e24472b6e9f959d845b (diff) | |
parent | 3cf6c2b4e43f44a977d218c96c26250654ae333e (diff) | |
download | quagga-9bb5870e26a4089f599b24adf822c4d1a9870a44.tar.bz2 quagga-9bb5870e26a4089f599b24adf822c4d1a9870a44.tar.xz |
bgpd: merge osr/google-bgp-multipath
this patchset allows collapsing multiple received routes in BGP into one
multipath route that will, if readvertised, contain an aggregate of all
received attributes.
Diffstat (limited to 'bgpd/bgp_main.c')
-rw-r--r-- | bgpd/bgp_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c index 8dede587..0f1d4829 100644 --- a/bgpd/bgp_main.c +++ b/bgpd/bgp_main.c @@ -35,6 +35,7 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA #include "routemap.h" #include "filter.h" #include "plist.h" +#include "stream.h" #include "bgpd/bgpd.h" #include "bgpd/bgp_attr.h" @@ -47,6 +48,7 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA #include "bgpd/bgp_clist.h" #include "bgpd/bgp_debug.h" #include "bgpd/bgp_filter.h" +#include "bgpd/bgp_zebra.h" /* bgpd options, we use GNU getopt library. */ static const struct option longopts[] = @@ -297,6 +299,8 @@ bgp_exit (int status) zclient_free (zclient); if (zlookup) zclient_free (zlookup); + if (bgp_nexthop_buf) + stream_free (bgp_nexthop_buf); /* reverse bgp_master_init */ if (master) |