summaryrefslogtreecommitdiffstats
path: root/proto/radv/radv.c
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/radv.c
parent60fd666b796dfa8ba12b44338754ca73b76da2e8 (diff)
downloadbird-2779d50a24dc1b7c6b4cf83a17af817c02462855.tar
bird-2779d50a24dc1b7c6b4cf83a17af817c02462855.zip
Fixes RAdv proto w.r.t. templates.
Thanks Alexander V. Chernikov for this.
Diffstat (limited to 'proto/radv/radv.c')
-rw-r--r--proto/radv/radv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/radv/radv.c b/proto/radv/radv.c
index 42d4bff..d6fc8da 100644
--- a/proto/radv/radv.c
+++ b/proto/radv/radv.c
@@ -328,7 +328,7 @@ radv_copy_config(struct proto_config *dest, struct proto_config *src)
init_list(&d->patt_list);
/* We copy pref_list, shallow copy suffices */
- cfg_copy_list(&d->iface_list, &s->iface_list, sizeof(struct iface_patt));
+ cfg_copy_list(&d->pref_list, &s->pref_list, sizeof(struct radv_prefix_config));
}