From: Martin Mares Date: Sat, 13 May 2000 11:17:49 +0000 (+0000) Subject: Unified parsing of prefixes. X-Git-Tag: v1.2.0~911 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=758458be054ebdf4cd77620faf214f2b491a49dc;p=thirdparty%2Fbird.git Unified parsing of prefixes. Had to rename `prefix' in filters to `fprefix'. --- diff --git a/TODO b/TODO index 972afae70..2bf8eb3c5 100644 --- a/TODO +++ b/TODO @@ -1,6 +1,5 @@ Core ~~~~ -- config: when parsing prefix, check zero bits - config: try to unify expressions - static: check validity of route destination? diff --git a/conf/confbase.Y b/conf/confbase.Y index 7ac07fea2..c6143012c 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -40,6 +40,7 @@ CF_DECLS struct rt_show_data *ra; void *g; bird_clock_t time; + struct prefix px; } %token END CLI_MARKER INVALID_TOKEN @@ -52,6 +53,7 @@ CF_DECLS %type expr bool pxlen %type