aboutsummaryrefslogtreecommitdiffstats
path: root/examples/l4fwd/pkt.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/l4fwd/pkt.c')
-rw-r--r--examples/l4fwd/pkt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/l4fwd/pkt.c b/examples/l4fwd/pkt.c
index 6dfad0e..43aa9c8 100644
--- a/examples/l4fwd/pkt.c
+++ b/examples/l4fwd/pkt.c
@@ -946,7 +946,7 @@ setup_rx_cb(const struct netbe_port *uprt, struct netbe_lcore *lc,
{
int32_t rc;
uint32_t i, n, smask;
- void *cb;
+ const void *cb;
const struct ptype2cb *ptype2cb;
static const struct ptype2cb tcp_ptype2cb[] = {