aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dpi.c b/src/dpi.c
index 6423f3a..c91a78a 100644
--- a/src/dpi.c
+++ b/src/dpi.c
@@ -508,7 +508,7 @@ dpi_add_del_rx_flow (u32 hw_if_index, u32 flow_id, int is_add, u32 is_ipv6)
dpi_flow = pool_elt_at_index (dm->dpi_flows, flow_id);
- src_port.port = dpi_flow->key.dst_port;
+ src_port.port = dpi_flow->key.src_port;
src_port.mask = ~0;
dst_port.port = dpi_flow->key.dst_port;
dst_port.mask = ~0;