From f71bded6e97a3eeb4dc58458d042cbe1af631380 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Wed, 26 Apr 2000 09:30:12 +0000 Subject: Bugfix in i_same (comparing of paths still does not work). --- filter/config.Y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filter/config.Y') 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; } ; /* -- cgit v1.2.3