From: Ondrej Zajicek Date: Tue, 3 Dec 2024 16:05:23 +0000 (+0100) Subject: Static: Fix ASPA static route argument X-Git-Tag: v2.16.1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c926a6e105f7eb27ea3d1f7368a508eb42e0edf7;p=thirdparty%2Fbird.git Static: Fix ASPA static route argument It seems that it should be 'providers' instead of 'provider'. It matches keyword declaration and documentation. Mismatch beween keyword declaration also breaks static-only builds. --- diff --git a/proto/static/config.Y b/proto/static/config.Y index 58d22d3a6..817ee3b77 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;