From c926a6e105f7eb27ea3d1f7368a508eb42e0edf7 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Tue, 3 Dec 2024 17:05:23 +0100 Subject: [PATCH] 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. --- proto/static/config.Y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2