summaryrefslogtreecommitdiff
path: root/sysdep/unix/krt.c
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2021-06-17 16:56:51 +0200
committerMaria Matejka <mq@ucw.cz>2021-09-10 17:32:05 +0200
commit47d92d8f9d9891a9b40f3fbef1d762537af4ae25 (patch)
treed26884e08f332251bff8e8b4962fc97e19541bf3 /sysdep/unix/krt.c
parent3f19100f5a47dce96d336d68e0cbe72de5d9ba60 (diff)
Nest: Clean up main channel handling
Remove assumption that main channel is the only channel.
Diffstat (limited to 'sysdep/unix/krt.c')
-rw-r--r--sysdep/unix/krt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c
index ceb88563..7c2614b1 100644
--- a/sysdep/unix/krt.c
+++ b/sysdep/unix/krt.c
@@ -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