From 7c715f16fcb33b3668aed6db34395c8dc741612d Mon Sep 17 00:00:00 2001 From: Dominique Rousseau Date: Mon, 26 Jul 2021 17:38:28 +0200 Subject: [PATCH] fix bgp_add_route with bind_address ( fix #9 ) --- l2tpns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l2tpns.c b/l2tpns.c index e3b30fa..1e6d029 100644 --- a/l2tpns.c +++ b/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++) {