diff options
author | Eyal Bari <ebari@cisco.com> | 2017-02-01 13:36:15 +0200 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2017-02-02 02:20:26 +0000 |
commit | a93ea428fe60cc3fb64b758f5d97ebf87a07f95f (patch) | |
tree | 42f42943aa50787769d1e8fa1ff29eb37c71826f /src/vnet/vxlan/decap.c | |
parent | eb82e7f27c6f8fe84838e6e2914579825c455632 (diff) |
VXLAN: further unify ip4/ip6 ctl plane handling
fix wrong udp error codes in decap ip6 handling
Change-Id: Ibf791a995128d38b31725c1ee67ec9d1c9dffca2
Signed-off-by: Eyal Bari <ebari@cisco.com>
Diffstat (limited to 'src/vnet/vxlan/decap.c')
-rw-r--r-- | src/vnet/vxlan/decap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/vxlan/decap.c b/src/vnet/vxlan/decap.c index d5a9442f514..514b2c9968e 100644 --- a/src/vnet/vxlan/decap.c +++ b/src/vnet/vxlan/decap.c @@ -1032,8 +1032,8 @@ ip_vxlan_bypass_inline (vlib_main_t * vm, } else { - error1 = good_udp1 ? 0 : IP4_ERROR_UDP_CHECKSUM; - error1 = (len_diff1 >= 0) ? error1 : IP4_ERROR_UDP_LENGTH; + error1 = good_udp1 ? 0 : IP6_ERROR_UDP_CHECKSUM; + error1 = (len_diff1 >= 0) ? error1 : IP6_ERROR_UDP_LENGTH; } next1 = error1 ? |