MTU: Software interface / Per-protocol MTU support
[vpp.git] / src / vnet / adj / adj_nbr.c
index eff7d4c..3f66acb 100644 (file)
@@ -230,7 +230,7 @@ adj_nbr_add_or_lock (fib_protocol_t nh_proto,
        adj_index = adj_get_index(adj);
        adj_lock(adj_index);
 
-       vnet_rewrite_init(vnm, sw_if_index,
+       vnet_rewrite_init(vnm, sw_if_index, link_type,
                          adj_get_nd_node(nh_proto),
                          vnet_tx_node_index_for_sw_interface(vnm, sw_if_index),
                          &adj->rewrite_header);
@@ -751,7 +751,7 @@ VNET_SW_INTERFACE_ADMIN_UP_DOWN_FUNCTION_PRIO(
  * @brief Invoked on each SW interface of a HW interface when the
  * HW interface state changes
  */
-static void
+static walk_rc_t
 adj_nbr_hw_sw_interface_state_change (vnet_main_t * vnm,
                                       u32 sw_if_index,
                                       void *arg)
@@ -768,6 +768,7 @@ adj_nbr_hw_sw_interface_state_change (vnet_main_t * vnm,
                     adj_nbr_interface_state_change_one,
                     ctx);
     }
+    return (WALK_CONTINUE);
 }
 
 /**