void
ospf6_area_bind_top (struct ospf6_area *o6a, struct ospf6 *o6)
{
  o6a->ospf6 = o6;
  CALL_CHANGE_HOOK (&area_hook, o6a);
  return;
}
Пример #2
0
void
ospf6_zebra_no_redistribute (int type)
{
  int top_change = 0;

  if (!zclient->redist[type])
    return;

  if (ospf6_is_asbr (ospf6))
    top_change = 1;

  zclient->redist[type] = 0;

  if (zclient->sock > 0)
    zebra_redistribute_send (ZEBRA_REDISTRIBUTE_DELETE, zclient->sock, type);

  if (top_change)
    CALL_CHANGE_HOOK (&top_hook, ospf6);
}