diff options
author | Pavel Machek <pavel@ucw.cz> | 2000-04-17 13:06:39 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2000-04-17 13:06:39 +0200 |
commit | 684c6f5a0e134426159be7dbd514271aea9f4d3d (patch) | |
tree | 0e5acd2b882f7e05365d6e50a3a6fcc2f41ed974 /filter/config.Y | |
parent | ecd25633bdc3e491a0eca44c63c158eeff388f13 (diff) | |
download | bird-684c6f5a0e134426159be7dbd514271aea9f4d3d.tar bird-684c6f5a0e134426159be7dbd514271aea9f4d3d.zip |
Path_getlen moved to nest and length was made callable from filters.
Diffstat (limited to 'filter/config.Y')
-rw-r--r-- | filter/config.Y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/config.Y b/filter/config.Y index 0c2247d..6ce89e7 100644 --- a/filter/config.Y +++ b/filter/config.Y @@ -407,7 +407,7 @@ term: | rtadot dynamic_attr { $$ = $2; $$->code = P('e','a'); } | term '.' IP { $$ = f_new_inst(); $$->code = P('c','p'); $$->a1.p = $1; $$->aux = T_IP; } - | term '.' LEN { $$ = f_new_inst(); $$->code = P('c','p'); $$->a1.p = $1; $$->aux = T_INT; } + | term '.' LEN { $$ = f_new_inst(); $$->code = 'L'; $$->a1.p = $1; } | term '.' MASK '(' term ')' { $$ = f_new_inst(); $$->code = P('i','M'); $$->a1.p = $1; $$->a2.p = $5; } /* Communities */ |