From d053508fcfd50f102f2d6c999938819bc91944d2 Mon Sep 17 00:00:00 2001 From: Dengfeng Liu Date: Thu, 13 Jul 2023 20:57:59 +0800 Subject: ipsec: should use praddr_ instead of pladdr_ Type: fix Change-Id: I982ef624226807d7c263e3ff83c108f7d31f61f1 Signed-off-by: Dengfeng Liu --- src/vnet/ipsec/ipsec_spd_policy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/vnet/ipsec/ipsec_spd_policy.c b/src/vnet/ipsec/ipsec_spd_policy.c index 08acad2b291..af087689941 100644 --- a/src/vnet/ipsec/ipsec_spd_policy.c +++ b/src/vnet/ipsec/ipsec_spd_policy.c @@ -480,7 +480,7 @@ ipsec_fp_ip6_get_policy_mask (ipsec_policy_t *policy, ipsec_fp_5tuple_t *mask, if (*prmask++ & clib_host_to_net_u64 (0x1)) { - *prmask = (*pladdr_start ^ *pladdr_stop); + *prmask = (*praddr_start ^ *praddr_stop); *prmask = clib_host_to_net_u64 ( mask_out_highest_set_bit_u64 (clib_net_to_host_u64 (*prmask))); } -- cgit 1.2.3-korg