bird2: Symbolic constants for bgp_origin don't work

2018-02-11 Thread Luis Ressel
Hello, According to the docs, the bgp_origin route attribute can have the values ORIGIN_IGP, ORIGIN_EGP and ORIGIN_INCOMPLETE. However, filter conditions such as "bgp_origin = ORIGIN_IGP" don't appear to match anything. (They don't throw an error either, so bird apparently recognizes the constants

[PATCH] babel: Use acknowledged retractions when losing a prefix

2018-02-11 Thread Toke Høiland-Jørgensen
In order to prevent routing loops, Babel installs temporary blackhole routes to prefixes that expire or are otherwise lost. These blackhole routes are maintained for a while to ensure the route has been flushed from the whole network; the default hold time is 64 seconds. In the updated IETF versio

[PATCH v2] Fix a bunch of implicit switch fallthrough warnings

2018-02-11 Thread Toke Høiland-Jørgensen
GCC 7 turns on -Wimplicit-fallthrough by default[0], which results in a bunch of warnings on a Bird build. This patch fixes those by either adding explicit fall-through comments, or break statements. [0] https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/ Signed-off-by:

[PATCH] Fix a bunch of implicit switch fallthrough warnings

2018-02-11 Thread Toke Høiland-Jørgensen
GCC 7 turns on -Wimplicit-fallthrough by default[0], which results in a bunch of warnings on a Bird build. This patch fixes those by either adding explicit fall-through comments, or break statements. [0] https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/ Signed-off-by:

[PATCH] babel: Fix accidental bitwise or assignment

2018-02-11 Thread Toke Høiland-Jørgensen
Fix an accidental bitwise or assignment that was supposed to be a comparison. Signed-off-by: Toke Høiland-Jørgensen --- proto/babel/babel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/babel/babel.c b/proto/babel/babel.c index aa7e8b68..3cf8aaf0 100644 --- a/proto/ba

Kernel Protocol not supports IPv4 and IPv6 channels in one protocol instance

2018-02-11 Thread Michael Rack
Hi Guys, can anyone explain why the KENREL-Protocol does not support IPv4 and IPv6 Channels in one instance? BGP, OSPF and so on also supports that, what is so special on KERNEL that this is not supported? That makes a huge configuration mess. > The Kernel protocol supports both IPv4 and IPv6 ch