1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Nest: Clean up main channel handling

Remove assumption that main channel is the only channel.
This commit is contained in:
Ondrej Zajicek (work)
2021-06-17 16:56:51 +02:00
committed by Maria Matejka
parent 3f19100f5a
commit 47d92d8f9d
8 changed files with 9 additions and 9 deletions

View File

@@ -1013,7 +1013,7 @@ krt_postconfig(struct proto_config *CF)
if (cf->c.class == SYM_TEMPLATE)
return;
if (EMPTY_LIST(CF->channels))
if (! proto_cf_main_channel(CF))
cf_error("Channel not specified");
#ifdef CONFIG_ALL_TABLES_AT_ONCE