From d7661fbe9dea980c61daa01a11a9aa59fa7be426 Mon Sep 17 00:00:00 2001 From: Jan Moskyto Matejka Date: Fri, 11 Dec 2015 15:35:37 +0100 Subject: Removed BITS_PER_IP_ADDRESS, MAX_PREFIX_LENGTH, BIRD_AF Explicit setting of AF_INET(6|) in IP socket creation. BFD set to listen on v6, without setting the V6ONLY flag to catch both v4 and v6 traffic. Squashing and minor changes by Ondrej Santiago Zajicek --- conf/confbase.Y | 27 ++++++------ filter/config.Y | 4 +- filter/filter.c | 2 +- lib/ip.h | 4 -- lib/net.c | 10 ++++- lib/net.h | 3 +- nest/config.Y | 110 ++++--------------------------------------------- nest/neighbor.c | 2 +- nest/route.h | 3 +- nest/rt-table.c | 8 +++- proto/bfd/packets.c | 8 +--- proto/ospf/iface.c | 2 + proto/ospf/lsalib.c | 2 +- proto/ospf/ospf.h | 9 +++- proto/ospf/rt.c | 31 +++++++------- proto/radv/packets.c | 1 + proto/rip/packets.c | 1 + sysdep/bsd/krt-sock.c | 47 ++++++++++++++------- sysdep/linux/netlink.c | 38 ++++++++++++----- sysdep/unix/io.c | 16 ++++--- sysdep/unix/unix.h | 18 ++++---- 21 files changed, 146 insertions(+), 200 deletions(-) diff --git a/conf/confbase.Y b/conf/confbase.Y index 3ad0c5f0..4bf9599b 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -76,11 +76,10 @@ CF_DECLS %token TEXT %type ipa_scope -%type expr bool pxlen +%type expr bool pxlen4 pxlen6 %type expr_us %type