From d44e686e9bcae5850115c0e1adfe24523dce61ee Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Thu, 12 Nov 2015 02:03:59 +0100 Subject: Follow-up commit on integrated BIRD Use net_addr for interface address prefixes, support net_addr in configuration parser. --- conf/confbase.Y | 40 ++++++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 14 deletions(-) (limited to 'conf') diff --git a/conf/confbase.Y b/conf/confbase.Y index 64a636cf..3ad0c5f0 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -41,6 +41,8 @@ CF_DECLS ip_addr a; ip4_addr ip4; ip6_addr ip6; + net_addr_union net; + net_addr *net_ptr; struct symbol *s; char *t; struct rtable_config *r; @@ -78,10 +80,11 @@ CF_DECLS %type expr_us %type