diff options
author | Michele Papalini <micpapal@cisco.com> | 2019-12-10 10:11:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-12-10 10:11:35 +0000 |
commit | a40a23b0d7fc5ebecbb97a5213646add5eeadc5b (patch) | |
tree | e274cd18068b21a22248599a8f0caae65a618faf /hicn-plugin | |
parent | b0c1a5f4362a1db5621b74052eca27d3e2af1ab2 (diff) | |
parent | 130ee544d393979b487e7e6685d55519f6c2ca18 (diff) |
Merge "[HICN-441] Fixed udp punting. Ip version of the punting (6 or 4) was set in the wrong way. Before enabling punting we were checking for the wrong table type (ip4 when it was 6 and vice versa)"
Diffstat (limited to 'hicn-plugin')
-rw-r--r-- | hicn-plugin/src/punt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hicn-plugin/src/punt.c b/hicn-plugin/src/punt.c index bb0c076f7..74d4c1056 100644 --- a/hicn-plugin/src/punt.c +++ b/hicn-plugin/src/punt.c @@ -67,7 +67,7 @@ ip_version_t udp4_src_ipv6 = { .addr_len_bits = IPV6_ADDR_LEN_BITS, .protocol_field = &udp4_protocol, .udp_sport = &udp4_sport, - .ip_version = 0x60, + .ip_version = 0x40, }; ip_version_t udp4_dst_ipv4 = { @@ -83,7 +83,7 @@ ip_version_t udp4_dst_ipv6 = { .addr_len_bits = IPV6_ADDR_LEN_BITS, .protocol_field = &udp4_protocol, .udp_dport = &udp4_dport, - .ip_version = 0x60, + .ip_version = 0x40, }; ip_version_t udp6_src_ipv4 = { @@ -91,7 +91,7 @@ ip_version_t udp6_src_ipv4 = { .addr_len_bits = IPV4_ADDR_LEN_BITS, .protocol_field = &udp6_protocol, .udp_sport = &udp6_sport, - .ip_version = 0x40, + .ip_version = 0x60, }; ip_version_t udp6_src_ipv6 = { @@ -107,7 +107,7 @@ ip_version_t udp6_dst_ipv4 = { .addr_len_bits = IPV4_ADDR_LEN_BITS, .protocol_field = &udp6_protocol, .udp_dport = &udp6_dport, - .ip_version = 0x40, + .ip_version = 0x60, }; ip_version_t udp6_dst_ipv6 = { |