forked from Mirror/frr
2003-06-19 Paul Jakma <paul@dishone.st>
* ospfd/ospf_zebra.c: Run it through indent -nut to fix the $%^@ing annoying mix of tabs and spaces.
This commit is contained in:
parent
72357f2b98
commit
cf795c5ded
|
@ -113,7 +113,8 @@ ospf_interface_delete (int command, struct zclient *zclient,
|
||||||
ifp->name);
|
ifp->name);
|
||||||
|
|
||||||
if (IS_DEBUG_OSPF (zebra, ZEBRA_INTERFACE))
|
if (IS_DEBUG_OSPF (zebra, ZEBRA_INTERFACE))
|
||||||
zlog_info ("Zebra: interface delete %s index %d flags %ld metric %d mtu %d",
|
zlog_info
|
||||||
|
("Zebra: interface delete %s index %d flags %ld metric %d mtu %d",
|
||||||
ifp->name, ifp->ifindex, ifp->flags, ifp->metric, ifp->mtu);
|
ifp->name, ifp->ifindex, ifp->flags, ifp->metric, ifp->mtu);
|
||||||
|
|
||||||
#ifdef HAVE_SNMP
|
#ifdef HAVE_SNMP
|
||||||
|
@ -379,8 +380,7 @@ ospf_zebra_add (struct prefix_ipv4 *p, struct ospf_route *or)
|
||||||
{
|
{
|
||||||
zlog_info ("Zebra: Route add %s/%d nexthop %s",
|
zlog_info ("Zebra: Route add %s/%d nexthop %s",
|
||||||
inet_ntoa (p->prefix),
|
inet_ntoa (p->prefix),
|
||||||
p->prefixlen,
|
p->prefixlen, inet_ntoa (path->nexthop));
|
||||||
inet_ntoa (path->nexthop));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -441,8 +441,7 @@ ospf_zebra_delete (struct prefix_ipv4 *p, struct ospf_route *or)
|
||||||
{
|
{
|
||||||
zlog_info ("Zebra: Route delete %s/%d nexthop %s",
|
zlog_info ("Zebra: Route delete %s/%d nexthop %s",
|
||||||
inet_ntoa (p->prefix),
|
inet_ntoa (p->prefix),
|
||||||
p->prefixlen,
|
p->prefixlen, inet_ntoa (**api.nexthop));
|
||||||
inet_ntoa (**api.nexthop));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -662,8 +661,7 @@ ospf_external_lsa_originate_check (struct ospf *ospf,
|
||||||
|
|
||||||
/* If connected prefix is OSPF enable interface, then do not announce. */
|
/* If connected prefix is OSPF enable interface, then do not announce. */
|
||||||
int
|
int
|
||||||
ospf_distribute_check_connected (struct ospf *ospf,
|
ospf_distribute_check_connected (struct ospf *ospf, struct external_info *ei)
|
||||||
struct external_info *ei)
|
|
||||||
{
|
{
|
||||||
struct route_node *rn;
|
struct route_node *rn;
|
||||||
|
|
||||||
|
@ -851,8 +849,8 @@ ospf_zebra_read_ipv4 (int command, struct zclient *zclient,
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
ospf_distribute_list_out_set (struct ospf *ospf, int type, char *name)
|
ospf_distribute_list_out_set (struct ospf *ospf, int type, char *name)
|
||||||
{
|
{
|
||||||
|
@ -1018,8 +1016,8 @@ ospf_filter_update (struct access_list *access)
|
||||||
if (IS_OSPF_ABR (ospf) && abr_inv)
|
if (IS_OSPF_ABR (ospf) && abr_inv)
|
||||||
ospf_schedule_abr_task (ospf);
|
ospf_schedule_abr_task (ospf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
struct ospf_distance *
|
struct ospf_distance *
|
||||||
ospf_distance_new ()
|
ospf_distance_new ()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue