aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ct6/ct6_in2out.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/ct6/ct6_in2out.c')
-rw-r--r--src/plugins/ct6/ct6_in2out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/ct6/ct6_in2out.c b/src/plugins/ct6/ct6_in2out.c
index 34744ec43be..ed7d59060f1 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 &&