aboutsummaryrefslogtreecommitdiffstats
path: root/vnet/vnet/ip/ip_input_acl.c
diff options
context:
space:
mode:
Diffstat (limited to 'vnet/vnet/ip/ip_input_acl.c')
-rw-r--r--vnet/vnet/ip/ip_input_acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/ip/ip_input_acl.c b/vnet/vnet/ip/ip_input_acl.c
index eaf7f34e..6331cf4f 100644
--- a/vnet/vnet/ip/ip_input_acl.c
+++ b/vnet/vnet/ip/ip_input_acl.c
@@ -322,7 +322,7 @@ ip_inacl_inline (vlib_main_t * vm,
t->sw_if_index = vnet_buffer(b0)->sw_if_index[VLIB_RX];
t->next_index = next0;
t->table_index = t0 ? t0 - vcm->tables : ~0;
- t->offset = e0 ? vnet_classify_get_offset (t0, e0): ~0;
+ t->offset = (e0 && t0) ? vnet_classify_get_offset (t0, e0): ~0;
}
/* verify speculative enqueue, maybe switch current next frame */