summaryrefslogtreecommitdiffstats
path: root/filter/config.Y
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-04-26 11:30:12 +0200
committerPavel Machek <pavel@ucw.cz>2000-04-26 11:30:12 +0200
commitf71bded6e97a3eeb4dc58458d042cbe1af631380 (patch)
tree6738efc7c1d206b92d46930e6b0ecdd991ab3bc3 /filter/config.Y
parent7a86a8b08db03f002a672d1e8a6481ad52114d1e (diff)
downloadbird-f71bded6e97a3eeb4dc58458d042cbe1af631380.tar
bird-f71bded6e97a3eeb4dc58458d042cbe1af631380.zip
Bugfix in i_same (comparing of paths still does not work).
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 ffb9a74..5f36272 100644
--- a/filter/config.Y
+++ b/filter/config.Y
@@ -335,7 +335,7 @@ constant:
| prefix_s {NEW_F_VAL; $$ = f_new_inst(); $$->code = 'C'; $$->a1.p = val; *val = $1; }
| '[' set_items ']' { DBG( "We've got a set here..." ); $$ = f_new_inst(); $$->code = 'c'; $$->aux = T_SET; $$->a2.p = build_tree($2); DBG( "ook\n" ); }
| ENUM { $$ = f_new_inst(); $$->code = 'c'; $$->aux = $1 >> 16; $$->a2.i = $1 & 0xffff; }
- | '/' bgp_path '/' { $$ = f_new_inst(); $$->code = 'c'; $$->aux = T_PATH_MASK; $$->a2.p = $2; }
+ | '/' bgp_path '/' { NEW_F_VAL; $$ = f_new_inst(); $$->code = 'C'; val->type = T_PATH_MASK; val->val.path_mask = $2; $$->a1.p = val; }
;
/*