aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/classify/ip_classify.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/classify/ip_classify.c')
-rw-r--r--src/vnet/classify/ip_classify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/classify/ip_classify.c b/src/vnet/classify/ip_classify.c
index d598d1a5c9b..5a5cfed6904 100644
--- a/src/vnet/classify/ip_classify.c
+++ b/src/vnet/classify/ip_classify.c
@@ -280,7 +280,7 @@ ip_classify_inline (vlib_main_t * vm,
vlib_add_trace (vm, node, b0, sizeof (*t));
t->next_index = next0;
t->table_index = t0 ? t0 - vcm->tables : ~0;
- t->entry_index = e0 ? e0 - t0->entries : ~0;
+ t->entry_index = e0 ? e0->opaque_index : ~0;
}
/* verify speculative enqueue, maybe switch current next frame */