aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vnet/interface/runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/interface/runtime.c b/src/vnet/interface/runtime.c
index d507a88f792..e63f1ecc2fc 100644
--- a/src/vnet/interface/runtime.c
+++ b/src/vnet/interface/runtime.c
@@ -178,7 +178,7 @@ vnet_hw_if_update_runtime_data (vnet_main_t *vnm, u32 hw_if_index)
if (vec_len (rt->rxq_vector_poll) != vec_len (a[i]))
something_changed_on_rx = 1;
else if (memcmp (a[i], rt->rxq_vector_poll,
- vec_len (a[i]) * sizeof (*a)))
+ vec_len (a[i]) * sizeof (**a)))
something_changed_on_rx = 1;
}
}