update copyright date to 2013
[dpdk.git] / app / test-pmd / rxonly.c
index 7f36ad9..8154c92 100644 (file)
@@ -1,7 +1,7 @@
 /*-
  *   BSD LICENSE
  * 
- *   Copyright(c) 2010-2012 Intel Corporation. All rights reserved.
+ *   Copyright(c) 2010-2013 Intel Corporation. All rights reserved.
  *   All rights reserved.
  * 
  *   Redistribution and use in source and binary forms, with or without 
@@ -164,7 +164,8 @@ pkt_burst_receive(struct fwd_stream *fs)
                        printf(" - FDIR hash=0x%x - FDIR id=0x%x ",
                               mb->pkt.hash.fdir.hash, mb->pkt.hash.fdir.id);
                if (ol_flags & PKT_RX_VLAN_PKT)
-                       printf(" - VLAN tci=0x%x", mb->pkt.vlan_tci);
+                       printf(" - VLAN tci=0x%x",
+                               mb->pkt.vlan_macip.f.vlan_tci);
                printf("\n");
                if (ol_flags != 0) {
                        int rxf;