2007-10-30 Nick Hilliard <nick@inex.ie>
* bgp_main.c: Add 'listenon' argument, to pass address to bind
to.
* bgp_network.c: (bgp_socket) Extend to take bind address.
* bgpd.c: (bgp_init) Pass stored address.
* bgpd.h: (struct bgp_master) storage for bind address
2007-11-01 Paul Jakma <paul.jakma@sun.com>
* tools/multiple-bgpd.sh: New, quick script to launch a bunch of
bgpds.
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c
index 9852d65..374c4c5 100644
--- a/bgpd/bgpd.c
+++ b/bgpd/bgpd.c
@@ -4961,7 +4961,7 @@
bgp_vty_init ();
/* Create BGP server socket. */
- bgp_socket (NULL, bm->port);
+ bgp_socket (NULL, bm->port, bm->address);
/* Init zebra. */
bgp_zebra_init ();