summaryrefslogtreecommitdiffstats
path: root/proto/ospf/dbdes.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/dbdes.c
parent66261211a9c9abd5e1591f0875d16da1e3975fcb (diff)
downloadbird-2e10a170fe70e405b5d6cb2cb53cd9a15de25b73.tar
bird-2e10a170fe70e405b5d6cb2cb53cd9a15de25b73.zip
Indentation.
Diffstat (limited to 'proto/ospf/dbdes.c')
-rw-r--r--proto/ospf/dbdes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/proto/ospf/dbdes.c b/proto/ospf/dbdes.c
index 5b45544..3d8ec50 100644
--- a/proto/ospf/dbdes.c
+++ b/proto/ospf/dbdes.c
@@ -117,9 +117,9 @@ ospf_dbdes_send(struct ospf_neighbor *n)
case NEIGHBOR_LOADING:
case NEIGHBOR_FULL:
- length = ntohs(((struct ospf_packet *)n->ldbdes)->length);
+ length = ntohs(((struct ospf_packet *) n->ldbdes)->length);
- if(!length)
+ if (!length)
{
OSPF_TRACE(D_PACKETS, "No packet in my buffer for repeating");
ospf_neigh_sm(n, INM_KILLNBR);
@@ -127,7 +127,7 @@ ospf_dbdes_send(struct ospf_neighbor *n)
}
memcpy(ifa->ip_sk->tbuf, n->ldbdes, length);
- /* Copy last sent packet again */
+ /* Copy last sent packet again */
sk_send_to(ifa->ip_sk, length, n->ip, OSPF_PROTO);
OSPF_TRACE(D_PACKETS, "DB_DES (M) sent to %I via %s.", n->ip,