summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2020-01-07 01:41:16 +0000
committerDave Wallace <dwallacelf@gmail.com>2020-08-12 15:28:04 +0000
commit251c1e73e1e449023d25576905dbd05583e32072 (patch)
treee5385cf4e6c390a3282daa7c3a3b527c49c32871
parentfb5ef861058dc234fcb1b993aae72d1e99d5935d (diff)
ct6: dst,src copy typo
Type: fix Signed-off-by: Neale Ranns <nranns@cisco.com> Change-Id: I266fa5dc637383fd8dac6592c9c266a1b70a73e9 (cherry picked from commit 629e268aa171a8bc03fb93fc995725b78ae64063)
-rw-r--r--MAINTAINERS5
-rw-r--r--src/plugins/ct6/ct6_in2out.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 19af788cdb2..6f6718a98a3 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -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/
diff --git a/src/plugins/ct6/ct6_in2out.c b/src/plugins/ct6/ct6_in2out.c
index 2e151f771c1..602cea2fd5e 100644
--- a/src/plugins/ct6/ct6_in2out.c
+++ b/src/plugins/ct6/ct6_in2out.c
@@ -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 &&