summaryrefslogtreecommitdiff
path: root/bgpd/bgpd.c
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@sun.com>2007-11-01 14:29:11 +0000
committerPaul Jakma <paul.jakma@sun.com>2007-11-01 14:29:11 +0000
commit3a02d1f7fb778a1ea4f45d037f13dfcd126e2337 (patch)
tree2ffa6c8c2c2feb9d423a277c0761151e56884d38 /bgpd/bgpd.c
parent5619f56ba38b255f699f76b327cf82388c4a90cf (diff)
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.
Diffstat (limited to 'bgpd/bgpd.c')
-rw-r--r--bgpd/bgpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c
index 9852d659..374c4c52 100644
--- a/bgpd/bgpd.c
+++ b/bgpd/bgpd.c
@@ -4961,7 +4961,7 @@ bgp_init (void)
bgp_vty_init ();
/* Create BGP server socket. */
- bgp_socket (NULL, bm->port);
+ bgp_socket (NULL, bm->port, bm->address);
/* Init zebra. */
bgp_zebra_init ();