summaryrefslogtreecommitdiff
path: root/examples/l2fwd-cat/l2fwd-cat.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/l2fwd-cat/l2fwd-cat.c')
-rw-r--r--examples/l2fwd-cat/l2fwd-cat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/l2fwd-cat/l2fwd-cat.c b/examples/l2fwd-cat/l2fwd-cat.c
index 1a8af28..b34b40a 100644
--- a/examples/l2fwd-cat/l2fwd-cat.c
+++ b/examples/l2fwd-cat/l2fwd-cat.c
@@ -20,7 +20,7 @@
#define BURST_SIZE 32
static const struct rte_eth_conf port_conf_default = {
- .rxmode = { .max_rx_pkt_len = ETHER_MAX_LEN }
+ .rxmode = { .max_rx_pkt_len = RTE_ETHER_MAX_LEN }
};
/* l2fwd-cat.c: CAT enabled, basic DPDK skeleton forwarding example. */