summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2010-08-24 16:13:33 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2010-08-24 16:13:33 +0000
commita5d341f248d1f222cade9d5ecff95f3f7b2d065b (patch)
tree2c560ea6c84425a4f6a27856ec21d27ebd9d6e0e /sys/net
parent6ec1f9f990e38130e29b67af2ffe384bae134e96 (diff)
spaces
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index aea6b93be13..5c7bb80c8e1 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.220 2010/08/24 16:00:16 claudio Exp $ */
+/* $OpenBSD: if.c,v 1.221 2010/08/24 16:13:32 claudio Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@ -1323,7 +1323,7 @@ ifioctl(struct socket *so, u_long cmd, caddr_t data, struct proc *p)
splx(s);
}
ifp->if_flags = (ifp->if_flags & IFF_CANTCHANGE) |
- (ifr->ifr_flags &~ IFF_CANTCHANGE);
+ (ifr->ifr_flags & ~IFF_CANTCHANGE);
if (ifp->if_ioctl)
(void) (*ifp->if_ioctl)(ifp, cmd, data);
break;
@@ -1372,7 +1372,7 @@ ifioctl(struct socket *so, u_long cmd, caddr_t data, struct proc *p)
ifp->if_xflags = (ifp->if_xflags & IFXF_CANTCHANGE) |
- (ifr->ifr_flags &~ IFXF_CANTCHANGE);
+ (ifr->ifr_flags & ~IFXF_CANTCHANGE);
rt_ifmsg(ifp);
break;