summaryrefslogtreecommitdiff
path: root/proto/radv/config.Y
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/radv/config.Y
parent1b9bf4e192a252db861acadc7f800d7046435a3f (diff)
Nest: Clean up main channel handling
Remove assumption that main channel is the only channel.
Diffstat (limited to 'proto/radv/config.Y')
-rw-r--r--proto/radv/config.Y1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/radv/config.Y b/proto/radv/config.Y
index dda9cfcd..8d4a3ab9 100644
--- a/proto/radv/config.Y
+++ b/proto/radv/config.Y
@@ -46,6 +46,7 @@ proto: radv_proto ;
radv_proto_start: proto_start RADV
{
this_proto = proto_config_new(&proto_radv, $1);
+ this_proto->net_type = NET_IP6;
init_list(&RADV_CFG->patt_list);
init_list(&RADV_CFG->pref_list);