return 0;
}
-int nhrp_interface_up(ZAPI_CALLBACK_ARGS)
+int nhrp_ifp_up(struct interface *ifp)
{
- struct interface *ifp;
-
- ifp = zebra_interface_state_read(zclient->ibuf, vrf_id);
- if (ifp == NULL)
- return 0;
-
debugf(NHRP_DEBUG_IF, "if-up: %s", ifp->name);
nhrp_interface_update_nbma(ifp);
nhrp_interface_update_nbma(ifp);
}
-int nhrp_ifp_up(struct interface *ifp)
-{
- return 0;
-}
-
int nhrp_ifp_down(struct interface *ifp)
{
return 0;