diff options
Diffstat (limited to 'src/vnet/lisp-cp')
-rw-r--r-- | src/vnet/lisp-cp/control.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vnet/lisp-cp/control.c b/src/vnet/lisp-cp/control.c index 72af525b111..59a45ed8910 100644 --- a/src/vnet/lisp-cp/control.c +++ b/src/vnet/lisp-cp/control.c @@ -3136,8 +3136,9 @@ lisp_cp_lookup_inline (vlib_main_t * vm, to_next, n_left_to_next, pi0, next0); + continue; } - continue; + goto done; } /* if we have remote mapping for destination already in map-chache @@ -3180,6 +3181,7 @@ lisp_cp_lookup_inline (vlib_main_t * vm, pkts_mapped++; } + done: b0->error = node->errors[LISP_CP_LOOKUP_ERROR_DROP]; if (PREDICT_FALSE (b0->flags & VLIB_BUFFER_IS_TRACED)) { |