From 72163bd5f3ccefc1edda585f6f605c37e774a0b8 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Tue, 9 Jan 2018 18:42:22 +0100 Subject: Nest: Allow modification of channels inherited from templates Multiple definitions of same channels are forbidden, but inherited channel can be redefined. In such case channel options are merged. --- nest/config.Y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nest/config.Y') diff --git a/nest/config.Y b/nest/config.Y index 5c4f2393..044aba2b 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -214,7 +214,7 @@ proto_item: channel_start: net_type { - $$ = this_channel = channel_config_new(NULL, $1, this_proto); + $$ = this_channel = channel_config_get(NULL, net_label[$1], $1, this_proto); }; channel_item: -- cgit v1.2.3