From aee539f241dd233eb9e716e11ee2c449ab482a75 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 1 Mar 2000 11:42:13 +0000 Subject: Made `datetime' more user friendly. Now it should be a quoted string of type "dd-mm-yyyy". --- TODO | 4 +--- conf/confbase.Y | 14 ++++++++++---- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/TODO b/TODO index 4b033b0..0193d94 100644 --- a/TODO +++ b/TODO @@ -18,10 +18,7 @@ Core - 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? @@ -56,6 +53,7 @@ Globals Various ideas ~~~~~~~~~~~~~ +- config: executable config files - client: access control - IPv6 router advertisements - real multipath (doesn't seem to be simple at all :() diff --git a/conf/confbase.Y b/conf/confbase.Y index 49d3b12..ba60fb2 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -1,7 +1,7 @@ /* * BIRD -- Configuration Parser Top * - * (c) 1998--1999 Martin Mares + * (c) 1998--2000 Martin Mares * * Can be freely distributed and used under the terms of the GNU GPL. */ @@ -37,6 +37,7 @@ CF_DECLS struct password_item *p; struct rt_show_data *ra; void *g; + bird_clock_t time; } %token END CLI_MARKER INVALID_TOKEN @@ -46,7 +47,8 @@ CF_DECLS %token SYM %token TEXT -%type expr bool pxlen datetime +%type expr bool pxlen +%type