summaryrefslogtreecommitdiff
path: root/proto/radv/config.Y
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2011-11-17 21:12:23 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2011-11-17 21:12:23 +0100
commit2779d50a24dc1b7c6b4cf83a17af817c02462855 (patch)
treef3a7ab150a7133484b0a076c8f32795422e863df /proto/radv/config.Y
parent60fd666b796dfa8ba12b44338754ca73b76da2e8 (diff)
Fixes RAdv proto w.r.t. templates.
Thanks Alexander V. Chernikov for this.
Diffstat (limited to 'proto/radv/config.Y')
-rw-r--r--proto/radv/config.Y2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/radv/config.Y b/proto/radv/config.Y
index 78a09551..495d9a05 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);
};