summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-06-18 00:14:28 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-06-18 00:14:28 +0000
commit108ae66dccfcddd3d54d54e8f2f1f32035075ff4 (patch)
treeaa22e0a12de387715b31935f47a66c53ea7d9e72
parentd2b60c3678e4f48515a133025592d2833011b9fb (diff)
increase my commit count by 1, because after telling niels three times that he has an indentation flaw, he has not fixed it, so i get a commit, thanks niels
-rw-r--r--sys/net/if.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 9a3c655ad42..ea2dbafe310 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.33 2000/06/17 20:36:36 provos Exp $ */
+/* $OpenBSD: if.c,v 1.34 2000/06/18 00:14:27 deraadt Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@ -293,7 +293,7 @@ if_mark_ignore(rn, vifp)
struct rtentry *rt = (struct rtentry *)rn;
if (rt->rt_ifp == ifp)
- rn->rn_flags |= RNF_IGNORE;
+ rn->rn_flags |= RNF_IGNORE;
return (0);
}
@@ -307,7 +307,7 @@ if_mark_unignore(rn, vifp)
struct rtentry *rt = (struct rtentry *)rn;
if (rt->rt_ifp == ifp)
- rn->rn_flags &= ~RNF_IGNORE;
+ rn->rn_flags &= ~RNF_IGNORE;
return (0);
}
@@ -839,9 +839,8 @@ ifioctl(so, cmd, data, p)
cmd = SIOCGIFNETMASK;
}
error = ((*so->so_proto->pr_usrreq)(so, PRU_CONTROL,
- (struct mbuf *) cmd,
- (struct mbuf *) data,
- (struct mbuf *) ifp));
+ (struct mbuf *) cmd, (struct mbuf *) data,
+ (struct mbuf *) ifp));
switch (ocmd) {
case OSIOCGIFADDR: