fix bgp_add_route with bind_address ( fix #9 )
This commit is contained in:
parent
832945bb4b
commit
7c715f16fc
1 changed files with 1 additions and 1 deletions
2
l2tpns.c
2
l2tpns.c
|
|
@ -4138,7 +4138,7 @@ static void mainloop(void)
|
|||
signal(SIGPIPE, SIG_IGN);
|
||||
bgp_setup(config->as_number);
|
||||
if (config->bind_address)
|
||||
bgp_add_route(config->bind_address, 0xffffffff);
|
||||
bgp_add_route(config->bind_address, 32);
|
||||
|
||||
for (i = 0; i < BGP_NUM_PEERS; i++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue