From: Neale Ranns Date: Tue, 26 Mar 2019 14:25:11 +0000 (-0700) Subject: FIB: do debug before remvoing last source X-Git-Tag: v19.04-rc1~123 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F35%2F18535%2F2;p=vpp.git FIB: do debug before remvoing last source Change-Id: I4e1cde754eb4d6406cd6cd51f37d89552bdb6a53 Signed-off-by: Neale Ranns --- diff --git a/src/vnet/fib/fib_entry.c b/src/vnet/fib/fib_entry.c index 32e45f24453..a2e2a1e8085 100644 --- a/src/vnet/fib/fib_entry.c +++ b/src/vnet/fib/fib_entry.c @@ -1111,10 +1111,10 @@ fib_entry_special_remove (fib_node_index_t fib_entry_index, best_source = fib_entry_src_get_source(bsrc); bflags = fib_entry_src_get_flags(bsrc); - sflag = fib_entry_src_action_remove_or_update_inherit(fib_entry, source); - FIB_ENTRY_DBG(fib_entry, "special remove:%U", format_fib_source, source); + sflag = fib_entry_src_action_remove_or_update_inherit(fib_entry, source); + /* * if the path list for the source passed is invalid, * then we need to create a new one. else we are updating