diff --git a/filter/test.conf b/filter/test.conf index 6ceab152..1f21f97e 100644 --- a/filter/test.conf +++ b/filter/test.conf @@ -2419,14 +2419,14 @@ aspa table at; protocol static { aspa { table at; }; - route aspa 65540 provider 65544; - route aspa 65541 provider 65545; - route aspa 65542 provider 65544, 65545; - route aspa 65543 provider 65544, 65545; + route aspa 65540 providers 65544; + route aspa 65541 providers 65545; + route aspa 65542 providers 65544, 65545; + route aspa 65543 providers 65544, 65545; route aspa 65544 transit; route aspa 65545 transit; - route aspa 65550 provider 65540; - route aspa 65551 provider 65543; + route aspa 65550 providers 65540; + route aspa 65551 providers 65543; } function t_aspa_check() diff --git a/proto/static/config.Y b/proto/static/config.Y index ef9612f0..d7d0a098 100644 --- a/proto/static/config.Y +++ b/proto/static/config.Y @@ -150,7 +150,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; } - | stat_route0 PROVIDER { + | stat_route0 PROVIDERS { if (this_srt->net->type != NET_ASPA) cf_error("Provider settings available only for ASPA"); this_srt->aspa = cfg_alloc(sizeof (adata) + (this_srt_aspa_max = 8) * sizeof (u32)); this_srt->aspa->length = 0;