From cf1860349182503523975fb8084d514407a75fb4 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Sat, 14 Mar 2009 12:43:10 +0100 Subject: New syntax for bgp_path --- 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 fa2453d..688464d 100644 --- a/filter/config.Y +++ b/filter/config.Y @@ -268,7 +268,7 @@ switch_body: /* EMPTY */ { $$ = NULL; } /* CONST '(' expr ')' { $$ = f_new_inst(); $$->code = 'c'; $$->aux = T_INT; $$->a2.i = $3; } */ bgp_path: - '|' bgp_path_tail1 '|' { $$ = $2; } + PO bgp_path_tail1 PC { $$ = $2; } | '/' bgp_path_tail2 '/' { $$ = $2; } | OR { $$ = NULL; } /* special case because of || is a different token */ ; -- cgit v1.2.3