also specify cookie_mask for correct flow retrieval
authorstevenvanrossem <steven.vanrossem@intec.ugent.be>
Sat, 6 Aug 2016 22:52:13 +0000 (00:52 +0200)
committerstevenvanrossem <steven.vanrossem@intec.ugent.be>
Sat, 6 Aug 2016 22:52:13 +0000 (00:52 +0200)
src/emuvim/dcemulator/monitoring.py

index 80b139c..074506b 100755 (executable)
@@ -348,6 +348,7 @@ class DCNetworkMonitor():
                 data = {}\r
 \r
                 data['cookie'] = flow_dict['cookie']\r
+                data['cookie_mask'] = flow_dict['cookie']\r
 \r
                 if 'tx' in flow_dict['metric_key']:\r
                     data['match'] = {'in_port':flow_dict['mon_port']}\r