diff options
author | Neale Ranns <nranns@cisco.com> | 2019-07-16 00:53:22 -0700 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-07-16 13:20:22 +0000 |
commit | 37dab437be1331e40f6f3e63f52235655431f65f (patch) | |
tree | f1188eb1489492c44bac43f5118c1ae6b68f7bd1 /src/vnet/ipsec | |
parent | b09f4d0adb8364b3516c3a64e8238715887ffec8 (diff) |
ipsec: coverity found c-n-p error
Type: fix
Fixes: 4b0b0d4
Change-Id: Ibd37c9099f9847ed23fa8357fd8e57ee516e52ab
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/ipsec')
-rw-r--r-- | src/vnet/ipsec/ipsec_if_in.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ipsec/ipsec_if_in.c b/src/vnet/ipsec/ipsec_if_in.c index 76dbca21858..fea25fe8cee 100644 --- a/src/vnet/ipsec/ipsec_if_in.c +++ b/src/vnet/ipsec/ipsec_if_in.c @@ -200,7 +200,7 @@ ipsec_if_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node, (esp_header_t *) ((u8 *) ip41 + ip4_header_bytes (ip41) + sizeof (udp_header_t)); buf_adv1 = 0; - buf_rewind1 = ip4_header_bytes (ip40) + sizeof (udp_header_t); + buf_rewind1 = ip4_header_bytes (ip41) + sizeof (udp_header_t); } else { |