From 04632fd77f291f67753341d12d540f7dac341bd3 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Thu, 24 Dec 2015 15:52:03 +0100 Subject: Follow-up work on integration --- proto/radv/config.Y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/radv/config.Y') diff --git a/proto/radv/config.Y b/proto/radv/config.Y index efb474a6..5e655de4 100644 --- a/proto/radv/config.Y +++ b/proto/radv/config.Y @@ -150,7 +150,7 @@ radv_iface: radv_prefix_start: net_ip6 { this_radv_prefix = cfg_allocz(sizeof(struct radv_prefix_config)); - RADV_PREFIX->prefix = $1.ip6; + RADV_PREFIX->prefix = *(net_addr_ip6 *) &($1); RADV_PREFIX->onlink = 1; RADV_PREFIX->autonomous = 1; -- cgit v1.2.3