diff options
author | Michael Yu <michael.a.yu@nokia-sbell.com> | 2019-09-09 13:09:16 +0800 |
---|---|---|
committer | Michael Yu <michael.a.yu@nokia-sbell.com> | 2019-09-09 13:09:16 +0800 |
commit | f0cd428b88e9d8e4e42021ea35fc47c41e018899 (patch) | |
tree | d8ff1b940bdbf123f3262200d711b7d0134189f4 /src | |
parent | 2234c30a625ec2c38f7fb9d0c7e7ddd02a0f038f (diff) |
Fix: src_port set wrongly in dpi_add_del_rx_flow
Type: fix
Signed-off-by: Michael Yu <michael.a.yu@nokia-sbell.com>
Change-Id: Ie9c62184492e90ac68af330572d6e30ac5020528
Diffstat (limited to 'src')
-rw-r--r-- | src/dpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |