summaryrefslogtreecommitdiffstats
path: root/filter/config.Y
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-11-18 15:29:10 +0100
committerPavel Machek <pavel@ucw.cz>1999-11-18 15:29:10 +0100
commitf31156ca217226ad110cc46e6365d70e64c527e0 (patch)
tree497dbe2635cffc3cd98fbcbe9ff52d3cfd7a585d /filter/config.Y
parentc7b43f33ae8d583ead531d76ed81f1b5deb507f3 (diff)
downloadbird-f31156ca217226ad110cc46e6365d70e64c527e0.tar
bird-f31156ca217226ad110cc46e6365d70e64c527e0.zip
Filters: first parts of extended attributes being read-write. It can
not actually work since I do not do rta/rte cow, yet.
Diffstat (limited to 'filter/config.Y')
-rw-r--r--filter/config.Y8
1 files changed, 6 insertions, 2 deletions
diff --git a/filter/config.Y b/filter/config.Y
index 0a14856..a24b157 100644
--- a/filter/config.Y
+++ b/filter/config.Y
@@ -27,7 +27,7 @@ CF_HDR
CF_DECLS
-CF_KEYWORDS(FUNCTION, PRINT, PRINTN, CONST,
+CF_KEYWORDS(FUNCTION, PRINT, PRINTN, CONST, UNSET,
ACCEPT, REJECT, ERROR, QUITBIRD,
INT, BOOL, IP, PREFIX, PAIR, SET, STRING,
IF, THEN, ELSE, CASE,
@@ -360,7 +360,11 @@ cmd:
| RTA '.' any_dynamic '=' term ';' {
$$ = $3;
$$->code = 'eS';
-
+ $$->a1.p = $5;
+ }
+ | UNSET '(' RTA '.' any_dynamic ')' ';' {
+ $$ = $5;
+ $$->code = 'eD';
}
| break_command print_list ';' { $$ = f_new_inst(); $$->code = 'p,'; $$->a1.p = $2; $$->a2.i = $1; }
| SYM '(' var_list ')' ';' {