diff --git a/lib/printf.c b/lib/printf.c index 8077b0cb..3fa846f9 100644 --- a/lib/printf.c +++ b/lib/printf.c @@ -373,7 +373,7 @@ int bvsnprintf(char *buf, int size, const char *fmt, va_list args) snprintf(ipbuf, sizeof(ipbuf), fmtbuf, va_arg(args, double)); s = ipbuf; goto str; - + case 't': t = va_arg(args, btime); t1 = t TO_S; diff --git a/proto/static/config.Y b/proto/static/config.Y index 1df12561..5ca9d2b9 100644 --- a/proto/static/config.Y +++ b/proto/static/config.Y @@ -159,7 +159,7 @@ stat_route: | stat_route0 BLACKHOLE { this_srt->dest = RTD_BLACKHOLE; } | stat_route0 UNREACHABLE { this_srt->dest = RTD_UNREACHABLE; } | stat_route0 PROHIBIT { this_srt->dest = RTD_PROHIBIT; } - | net_flow_ { static_route_start($1); } flowspec_action + | net_flow_ { static_route_start($1); } flowspec_action ; stat_route_item: