From 04632fd77f291f67753341d12d540f7dac341bd3 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Thu, 24 Dec 2015 15:52:03 +0100 Subject: [PATCH] Follow-up work on integration --- conf/confbase.Y | 108 +++++++++++++++++++++++++++++------------- filter/config.Y | 19 ++++---- filter/filter.h | 2 +- filter/test.conf | 16 +++++-- lib/ip.c | 2 +- lib/ip.h | 24 ++-------- lib/net.h | 21 ++++++-- nest/config.Y | 19 ++++---- nest/neighbor.c | 3 +- nest/route.h | 9 +--- nest/rt-attr.c | 9 ++-- nest/rt-fib.c | 43 +++++++++-------- nest/rt-table.c | 108 ++++++++++++++++++++++++++---------------- proto/bfd/bfd.c | 2 +- proto/ospf/config.Y | 4 +- proto/ospf/iface.c | 3 +- proto/ospf/neighbor.c | 5 +- proto/ospf/packet.c | 4 +- proto/radv/config.Y | 2 +- sysdep/unix/krt.Y | 2 +- 20 files changed, 238 insertions(+), 167 deletions(-) diff --git a/conf/confbase.Y b/conf/confbase.Y index 467ce5a4..06698833 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -41,7 +41,7 @@ CF_DECLS ip_addr a; ip4_addr ip4; ip6_addr ip6; - net_addr_union net; + net_addr net; net_addr *net_ptr; struct symbol *s; char *t; @@ -76,12 +76,12 @@ CF_DECLS %token TEXT %type ipa_scope -%type expr bool pxlen4 pxlen6 +%type expr bool pxlen4 %type expr_us %type