summaryrefslogtreecommitdiffstats
path: root/filter/config.Y
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-04-17 13:06:39 +0200
committerPavel Machek <pavel@ucw.cz>2000-04-17 13:06:39 +0200
commit684c6f5a0e134426159be7dbd514271aea9f4d3d (patch)
tree0e5acd2b882f7e05365d6e50a3a6fcc2f41ed974 /filter/config.Y
parentecd25633bdc3e491a0eca44c63c158eeff388f13 (diff)
downloadbird-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.Y2
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 */