aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/udpfwd/dpdk_version.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/udpfwd/dpdk_version.h b/examples/udpfwd/dpdk_version.h
index 1d2f837..4f6bdfb 100644
--- a/examples/udpfwd/dpdk_version.h
+++ b/examples/udpfwd/dpdk_version.h
@@ -23,7 +23,7 @@
#define DPDK_VERSION_GE_1604
#endif
#elif defined(RTE_VER_YEAR)
-#if RTE_VER_YEAR >= 16 && RTE_VER_MONTH >= 4
+#if RTE_VERSION >= RTE_VERSION_NUM(16,4,0,0)
#define DPDK_VERSION_GE_1604
#endif
#else