app/testpmd: check Rx VLAN offload flag to print VLAN TCI
[dpdk.git] / app / test-pmd / rxonly.c
index a93d806..e8d2266 100644 (file)
@@ -130,7 +130,7 @@ pkt_burst_receive(struct fwd_stream *fs)
                }
                if (ol_flags & PKT_RX_TIMESTAMP)
                        printf(" - timestamp %"PRIu64" ", mb->timestamp);
-               if (ol_flags & PKT_RX_VLAN_STRIPPED)
+               if (ol_flags & PKT_RX_VLAN)
                        printf(" - VLAN tci=0x%x", mb->vlan_tci);
                if (ol_flags & PKT_RX_QINQ_STRIPPED)
                        printf(" - QinQ VLAN tci=0x%x, VLAN tci outer=0x%x",