Commit 0e58900c authored by Adam Wujek's avatar Adam Wujek 💬

tools: don't display VLAN info when no VLAN tag

related to BUG: 1544 and 1810
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent b95505c2
......@@ -173,7 +173,7 @@ int main(int argc, char **argv)
/* get the VLAN for incomming frames */
vlan = -1;
if (aux) {
if (aux && aux->tp_status & TP_STATUS_VLAN_VALID) {
/* already in the network order */
vlan = aux->tp_vlan_tci & 0xfff;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment