diff options
Diffstat (limited to 'src/plugins/lb/lb_test.c')
-rw-r--r-- | src/plugins/lb/lb_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lb/lb_test.c b/src/plugins/lb/lb_test.c index 7176be8c8d8..007303f82c8 100644 --- a/src/plugins/lb/lb_test.c +++ b/src/plugins/lb/lb_test.c @@ -268,7 +268,7 @@ static int api_lb_add_del_as (vat_main_t * vam) mp->pfx.len = vip_plen; mp->protocol = (u8)protocol; mp->port = htons((u16)port); - clib_memcpy (&mp->as_address, &as_addr, sizeof (as_addr)); + clib_memcpy (&mp->as_address.un.ip6, &as_addr.ip6, sizeof (as_addr.ip6)); mp->is_del = is_del; mp->is_flush = is_flush; |