summaryrefslogtreecommitdiffstats
path: root/proto/bgp
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-06-23 11:08:30 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-06-23 11:08:30 +0200
commitd72cdff411d0bf4ddecaea5d0fc6d4341b4cb3f1 (patch)
tree809ffc879dfe0e137204571524a3a9a31a2363dd /proto/bgp
parentda95a7a7dad6ebf572adfb448dfc1a5c8400e6ab (diff)
downloadbird-d72cdff411d0bf4ddecaea5d0fc6d4341b4cb3f1.tar
bird-d72cdff411d0bf4ddecaea5d0fc6d4341b4cb3f1.zip
Replace 'bind' option with 'listen' option.
To be consistent with other daemons.
Diffstat (limited to 'proto/bgp')
-rw-r--r--proto/bgp/bgp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c
index 2476c66..a6b9d57 100644
--- a/proto/bgp/bgp.c
+++ b/proto/bgp/bgp.c
@@ -94,7 +94,7 @@ bgp_open(struct bgp_proto *p)
bgp_counter++;
if (!bgp_listen_sk)
- bgp_listen_sk = bgp_setup_listen_sk(cfg->bind_bgp_addr, cfg->bind_bgp_port, cfg->bind_bgp_flags);
+ bgp_listen_sk = bgp_setup_listen_sk(cfg->listen_bgp_addr, cfg->listen_bgp_port, cfg->listen_bgp_flags);
if (!bgp_linpool)
bgp_linpool = lp_new(&root_pool, 4080);