summaryrefslogtreecommitdiffstats
path: root/proto/ospf/iface.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-06-06 11:37:54 +0200
committerOndrej Filip <feela@network.cz>2004-06-06 11:37:54 +0200
commit2e10a170fe70e405b5d6cb2cb53cd9a15de25b73 (patch)
tree4420ce13a167ddd315bd737d332c9d914a09557f /proto/ospf/iface.c
parent66261211a9c9abd5e1591f0875d16da1e3975fcb (diff)
downloadbird-2e10a170fe70e405b5d6cb2cb53cd9a15de25b73.tar
bird-2e10a170fe70e405b5d6cb2cb53cd9a15de25b73.zip
Indentation.
Diffstat (limited to 'proto/ospf/iface.c')
-rw-r--r--proto/ospf/iface.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c
index b205264..71b907a 100644
--- a/proto/ospf/iface.c
+++ b/proto/ospf/iface.c
@@ -150,8 +150,7 @@ ospf_iface_sm(struct ospf_iface *ifa, int event)
{
struct ospf_area *oa = ifa->oa;
- DBG("SM on iface %s. Event is \"%s\".",
- ifa->iface->name, ospf_ism[event]);
+ DBG("SM on iface %s. Event is \"%s\".", ifa->iface->name, ospf_ism[event]);
switch (event)
{
@@ -248,7 +247,7 @@ ospf_open_mc_socket(struct ospf_iface *ifa)
}
static sock *
-ospf_open_ip_socket(struct ospf_iface * ifa)
+ospf_open_ip_socket(struct ospf_iface *ifa)
{
sock *ipsk;
struct proto *p;
@@ -278,7 +277,7 @@ ospf_open_ip_socket(struct ospf_iface * ifa)
}
u8
-ospf_iface_clasify(struct iface *ifa)
+ospf_iface_clasify(struct iface * ifa)
{
if ((ifa->flags & (IF_MULTIACCESS | IF_MULTICAST)) ==
(IF_MULTIACCESS | IF_MULTICAST))
@@ -386,8 +385,7 @@ ospf_iface_notify(struct proto *p, unsigned flags, struct iface *iface)
ifa->options = 2; /* FIXME what options? */
if (ip->type == OSPF_IT_UNDEF)
- ifa->type =
- ospf_iface_clasify(ifa->iface);
+ ifa->type = ospf_iface_clasify(ifa->iface);
else
ifa->type = ip->type;