]> git.droids-corp.org - dpdk.git/blobdiff - app/test/packet_burst_generator.c
bond: fix vlan flag interpretation
[dpdk.git] / app / test / packet_burst_generator.c
index b2824dc999200ab17aab904cec0a2cdb3bcd31fe..4a89663d7ca789160a6cf7a8c5172d892e78b643 100644 (file)
@@ -97,7 +97,7 @@ initialize_eth_header(struct ether_hdr *eth_hdr, struct ether_addr *src_mac,
                vhdr->eth_proto =  rte_cpu_to_be_16(ETHER_TYPE_IPv4);
                vhdr->vlan_tci = van_id;
        } else {
-               eth_hdr->ether_type = rte_cpu_to_be_16(ETHER_TYPE_VLAN);
+               eth_hdr->ether_type = rte_cpu_to_be_16(ETHER_TYPE_IPv4);
        }
 
 }