Sets flow vlan to DOT1Q if no inner vlan is detected

If no {SRC,DST}_VLAN field is set, then the outer vlan values
found in Q-in-Q DOT1Q_{SRC,DST}_VLAN are used (if set) to populate
flow vlan.

Fixes #650
This commit is contained in:
Simone Mainardi 2016-07-24 14:26:08 +02:00
parent 128c11652c
commit 0de66219d0
2 changed files with 13 additions and 0 deletions

View file

@ -627,6 +627,8 @@ local flow_fields_description = {
["IN_SRC_MAC"] = "Source MAC Address",
["SRC_VLAN"] = "Source VLAN",
["DST_VLAN"] = "Destination VLAN",
["DOT1Q_SRC_VLAN"] = "Source VLAN (outer VLAN in QinQ)",
["DOT1Q_DST_VLAN"] = "Destination VLAN (outer VLAN in QinQ)",
["IP_PROTOCOL_VERSION"] = "4=IPv4]6=IPv6]",
["DIRECTION"] = "It indicates where a sample has been taken (always 0)",
["IPV6_NEXT_HOP"] = "IPv6 next hop address",