FIB Memory Usage Diagnostics
[vpp.git] / vnet / vnet / adj / adj_midchain.c
index 562a90d..c40d4e8 100644 (file)
@@ -405,7 +405,7 @@ adj_nbr_midchain_update_rewrite (adj_index_t adj_index,
        .fnbw_reason = FIB_NODE_BW_REASON_ADJ_UPDATE,
     };
 
-    fib_walk_sync(FIB_NODE_TYPE_ADJ, adj->heap_handle, &bw_ctx);
+    fib_walk_sync(FIB_NODE_TYPE_ADJ, adj_get_index(adj), &bw_ctx);
 }
 
 /**