]> git.droids-corp.org - dpdk.git/blobdiff - app/test-pmd/rxonly.c
mbuf: fix tunnel flags check
[dpdk.git] / app / test-pmd / rxonly.c
index 41871d3b5fac1749b4f0f94eb012d32cce504da1..ee7fd8dd91f440d8864179eab07b6f8142b6d6a4 100644 (file)
@@ -288,7 +288,7 @@ pkt_burst_receive(struct fwd_stream *fs)
                        }
 
                        /* inner L3 packet type */
-                       ptype = mb->packet_type & RTE_PTYPE_INNER_INNER_L3_MASK;
+                       ptype = mb->packet_type & RTE_PTYPE_INNER_L3_MASK;
                        switch (ptype) {
                        case RTE_PTYPE_INNER_L3_IPV4:
                                printf(" - Inner L3 type: IPV4");