ct6: dst,src copy typo

Type: fix

Signed-off-by: Neale Ranns <nranns@cisco.com>
Change-Id: I266fa5dc637383fd8dac6592c9c266a1b70a73e9
(cherry picked from commit 629e268aa171a8bc03fb93fc995725b78ae64063)
This commit is contained in:
Neale Ranns 2020-01-07 01:41:16 +00:00 committed by Dave Wallace
parent fb5ef86105
commit 251c1e73e1
2 changed files with 6 additions and 1 deletions

View File

@ -541,6 +541,11 @@ I: papi
M: Ole Troan <ot@cisco.com>
F: src/vpp-api/python
IPv6 Connection Tracker
I: ct6
M: Dave Barach <dave@barachs.net>
F: src/plugins/ct6
Plugin - SCTP
I: sctp
F: src/plugins/sctp/

View File

@ -267,7 +267,7 @@ ct6_in2out_inline (vlib_main_t * vm,
*/
if (PREDICT_FALSE (!ip6_address_is_global_unicast (&ip0->src_address)
||
!ip6_address_is_global_unicast (&ip0->src_address)))
!ip6_address_is_global_unicast (&ip0->dst_address)))
goto trace0;
/* Pass non-udp, non-tcp traffic */
if (PREDICT_FALSE (ip0->protocol != IP_PROTOCOL_TCP &&