summaryrefslogtreecommitdiff
path: root/sys/netipx/ipx_outputfl.c
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-01-15 18:52:15 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-01-15 18:52:15 +0000
commitd753b63d01e92215b0f8318fc076ee144f60564c (patch)
tree387a7f879e165608d1fe48d8564e01ff95e40447 /sys/netipx/ipx_outputfl.c
parent423fa483a4ae226de633fedb5a8900dda6a9b6ff (diff)
Some KNF.
Diffstat (limited to 'sys/netipx/ipx_outputfl.c')
-rw-r--r--sys/netipx/ipx_outputfl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netipx/ipx_outputfl.c b/sys/netipx/ipx_outputfl.c
index 0d70a4d1f8f..f90be75f332 100644
--- a/sys/netipx/ipx_outputfl.c
+++ b/sys/netipx/ipx_outputfl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipx_outputfl.c,v 1.4 2000/01/15 18:00:47 fgsch Exp $ */
+/* $OpenBSD: ipx_outputfl.c,v 1.5 2000/01/15 18:52:14 fgsch Exp $ */
/*-
*
@@ -138,8 +138,8 @@ gotif:
if (ipx_copy_output) {
ipx_watch_output(m0, ifp);
}
- error = (*ifp->if_output)(ifp, m0,
- (struct sockaddr *)dst, ro->ro_rt);
+ error = (*ifp->if_output)(ifp, m0, (struct sockaddr *)dst,
+ ro->ro_rt);
goto done;
} else {
ipxstat.ipxs_mtutoosmall++;
@@ -198,7 +198,7 @@ ipx_output_type20(m)
if(tia == NULL)
tia = ia;
- for (i=0;i<ipx->ipx_tc;i++,nbnet++)
+ for (i = 0; i < ipx->ipx_tc; i++, nbnet++)
if(ipx_neteqnn(ia->ia_addr.sipx_addr.ipx_net,
*nbnet))
goto bad;
@@ -236,7 +236,7 @@ ipx_output_type20(m)
for (ia = ipx_ifaddr.tqh_first; ia != NULL; ia = ia->ia_list.tqe_next)
if(ia->ia_ifa.ifa_ifp != m->m_pkthdr.rcvif) {
nbnet = (union ipx_net *)(ipx + 1);
- for (i=0;i<ipx->ipx_tc;i++,nbnet++)
+ for (i = 0; i < ipx->ipx_tc; i++, nbnet++)
if(ipx_neteqnn(ia->ia_addr.sipx_addr.ipx_net,
*nbnet))
goto skip_this;