Fix a bug when printing the port number for ACTION_OUTPUT actions.
diff --git a/web/get_flow.py b/web/get_flow.py
index eaf50d3..65def9b 100755
--- a/web/get_flow.py
+++ b/web/get_flow.py
@@ -115,7 +115,7 @@
for a in actions:
actionType = a['actionType']
if actionType == "ACTION_OUTPUT":
- port = a['actionOutput']['port']
+ port = a['actionOutput']['port']['value']
maxLen = a['actionOutput']['maxLen']
print " actionType: %s port: %s maxLen: %s" % (actionType, port, maxLen)
if actionType == "ACTION_SET_VLAN_VID":