summaryrefslogtreecommitdiff
path: root/proto/rpki
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2021-06-17 16:56:51 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2021-06-17 16:56:51 +0200
commitf761be6b30633054a54369eee7d08b951a366e5e (patch)
tree9ecf47c42ae7542ba33515c38913d6126819bd1f /proto/rpki
parent1b9bf4e192a252db861acadc7f800d7046435a3f (diff)
Nest: Clean up main channel handling
Remove assumption that main channel is the only channel.
Diffstat (limited to 'proto/rpki')
-rw-r--r--proto/rpki/rpki.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/rpki/rpki.c b/proto/rpki/rpki.c
index 799cb877..ab0837f3 100644
--- a/proto/rpki/rpki.c
+++ b/proto/rpki/rpki.c
@@ -923,7 +923,7 @@ rpki_postconfig(struct proto_config *CF)
{
/* Define default channel */
if (EMPTY_LIST(CF->channels))
- channel_config_new(NULL, net_label[CF->net_type], CF->net_type, CF);
+ cf_error("Channel not specified");
}
static void