]> git.droids-corp.org - dpdk.git/blobdiff - examples/vhost/main.c
net: replace IPv4/v6 constants with uppercase name
[dpdk.git] / examples / vhost / main.c
index 9427d59e66714e84d67835fae8bb85d6856e81ef..0961db0803b9fbd54351d3ec6e57976f2b98bde6 100644 (file)
@@ -858,7 +858,7 @@ get_psd_sum(void *l3_hdr, uint64_t ol_flags)
 {
        if (ol_flags & PKT_TX_IPV4)
                return rte_ipv4_phdr_cksum(l3_hdr, ol_flags);
-       else /* assume ethertype == RTE_ETHER_TYPE_IPv6 */
+       else /* assume ethertype == RTE_ETHER_TYPE_IPV6 */
                return rte_ipv6_phdr_cksum(l3_hdr, ol_flags);
 }