0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Merge commit '1dbee120' into thread-next

This commit is contained in:
Maria Matejka 2024-12-13 20:56:30 +01:00
commit f2925d15fc
2 changed files with 7 additions and 7 deletions

View File

@ -2419,14 +2419,14 @@ aspa table at;
protocol static protocol static
{ {
aspa { table at; }; aspa { table at; };
route aspa 65540 provider 65544; route aspa 65540 providers 65544;
route aspa 65541 provider 65545; route aspa 65541 providers 65545;
route aspa 65542 provider 65544, 65545; route aspa 65542 providers 65544, 65545;
route aspa 65543 provider 65544, 65545; route aspa 65543 providers 65544, 65545;
route aspa 65544 transit; route aspa 65544 transit;
route aspa 65545 transit; route aspa 65545 transit;
route aspa 65550 provider 65540; route aspa 65550 providers 65540;
route aspa 65551 provider 65543; route aspa 65551 providers 65543;
} }
function t_aspa_check() function t_aspa_check()

View File

@ -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;