X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fipsec%2Fah_encrypt.c;h=b4e9af3480284420b344c178080b11aa58b5bb3a;hb=f3a6622c7363501b9d4db1f605daa87b4f803cb1;hp=80b3fcca6eab6356065bb249ab911d023834eee3;hpb=02950406c49a743f631395ed52073921744e1afd;p=vpp.git diff --git a/src/vnet/ipsec/ah_encrypt.c b/src/vnet/ipsec/ah_encrypt.c index 80b3fcca6ea..b4e9af34802 100644 --- a/src/vnet/ipsec/ah_encrypt.c +++ b/src/vnet/ipsec/ah_encrypt.c @@ -306,7 +306,7 @@ ah_encrypt_inline (vlib_main_t * vm, { clib_memcpy_fast (&oh0->ip4.address_pair, &sa0->ip4_hdr.address_pair, - sizeof (ip4_address_t)); + sizeof (ip4_address_pair_t)); next[0] = sa0->dpo.dpoi_next_node; vnet_buffer (b[0])->ip.adj_index[VLIB_TX] = sa0->dpo.dpoi_index;