From 2779d50a24dc1b7c6b4cf83a17af817c02462855 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Thu, 17 Nov 2011 21:12:23 +0100 Subject: Fixes RAdv proto w.r.t. templates. Thanks Alexander V. Chernikov for this. --- 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 78a0955..495d9a0 100644 --- a/proto/radv/config.Y +++ b/proto/radv/config.Y @@ -31,7 +31,7 @@ CF_ADDTO(proto, radv_proto '}') radv_proto_start: proto_start RADV { - this_proto = proto_config_new(&proto_radv, sizeof(struct radv_config)); + this_proto = proto_config_new(&proto_radv, sizeof(struct radv_config), $1); init_list(&RADV_CFG->patt_list); init_list(&RADV_CFG->pref_list); }; -- cgit v1.2.3