diff options
| author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-08-18 07:05:00 +0000 |
|---|---|---|
| committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-08-18 07:05:00 +0000 |
| commit | 62f76486821669cfb9ceafa372dcdc7eb15d4e3c (patch) | |
| tree | 344b7a3da98a22c060f844fe311e36665045f41f /sys/compat | |
| parent | 4f8fa749f0c3befcee389fbdea4cbcb7f149d9f6 (diff) | |
Notes
Diffstat (limited to 'sys/compat')
| -rw-r--r-- | sys/compat/linux/linux_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 05fc0bddd3b8b..d0dbdddf4ba5d 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -1981,7 +1981,7 @@ linux_gifflags(struct thread *td, struct ifnet *ifp, struct l_ifreq *ifr) { l_short flags; - flags = ifp->if_flags; + flags = ifp->if_flags & 0xffff; /* these flags have no Linux equivalent */ flags &= ~(IFF_SMART|IFF_OACTIVE|IFF_SIMPLEX| IFF_LINK0|IFF_LINK1|IFF_LINK2); |
