mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-02-02 22:30:01 +00:00
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.
This commit is contained in:
parent
4fb8fe6f53
commit
c926a6e105
@ -150,7 +150,7 @@ stat_route:
|
|||||||
| stat_route0 BLACKHOLE { this_srt->dest = RTD_BLACKHOLE; }
|
| stat_route0 BLACKHOLE { this_srt->dest = RTD_BLACKHOLE; }
|
||||||
| stat_route0 UNREACHABLE { this_srt->dest = RTD_UNREACHABLE; }
|
| stat_route0 UNREACHABLE { this_srt->dest = RTD_UNREACHABLE; }
|
||||||
| stat_route0 PROHIBIT { this_srt->dest = RTD_PROHIBIT; }
|
| 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");
|
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 = cfg_alloc(sizeof (adata) + (this_srt_aspa_max = 8) * sizeof (u32));
|
||||||
this_srt->aspa->length = 0;
|
this_srt->aspa->length = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user