- netlink: import Linux route attributes to our rta's, so that they can be filtered?
-- config: executable config files
- config: when parsing prefix, check zero bits
-- config: useless rules when protocols disabled
-- config: better datetime format
- krt: rescan interfaces when route addition fails?
Various ideas
~~~~~~~~~~~~~
+- config: executable config files
- client: access control
- IPv6 router advertisements
- real multipath (doesn't seem to be simple at all :()
/*
* BIRD -- Configuration Parser Top
*
- * (c) 1998--1999 Martin Mares <mj@ucw.cz>
+ * (c) 1998--2000 Martin Mares <mj@ucw.cz>
*
* Can be freely distributed and used under the terms of the GNU GPL.
*/
struct password_item *p;
struct rt_show_data *ra;
void *g;
+ bird_clock_t time;
}
%token END CLI_MARKER INVALID_TOKEN
%token <s> SYM
%token <t> TEXT
-%type <i> expr bool pxlen datetime
+%type <i> expr bool pxlen
+%type <time> datetime
%nonassoc '=' '<' '>' '~' '.'
%left '+' '-'
}
;
-datetime: /* Return seconds from epoch, FIXME we want be more user friendly */
- NUM { $$ = $1; }
+datetime: /* Return seconds from epoch, FIXME we want be more user friendly */
+ TEXT {
+ $$ = tm_parse_date($1);
+ if (!$$)
+ cf_error("Invalid date");
+ }
;
CF_CODE