diff options
author | phk <phk@FreeBSD.org> | 1999-06-06 09:28:01 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-06-06 09:28:01 +0000 |
commit | 7c3f5e4d604a158b1487c5c75f35ba94113d031d (patch) | |
tree | e1bcf2e3cbcb3978064b69c1624d9be07290e6f4 /sys | |
parent | 0098c16802b914fdce6d769f5d8614afd9752297 (diff) | |
download | FreeBSD-src-7c3f5e4d604a158b1487c5c75f35ba94113d031d.zip FreeBSD-src-7c3f5e4d604a158b1487c5c75f35ba94113d031d.tar.gz |
typo in previous commit
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index 3021562..d51afcd 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)if.c 8.3 (Berkeley) 1/4/94 - * $Id: if.c,v 1.70 1999/04/28 11:37:32 phk Exp $ + * $Id: if.c,v 1.71 1999/06/06 09:17:49 phk Exp $ */ #include "opt_compat.h" @@ -641,7 +641,7 @@ ifioctl(so, cmd, data, p) ifr->ifr_prevflags = ifp->if_flags; if (ifp->if_flags & IFF_SMART) { /* Smart drivers twiddle their own routes */ - } else if ((ifp->if_flags & IFF_UP && + } else if (ifp->if_flags & IFF_UP && (ifr->ifr_flags & IFF_UP) == 0) { int s = splimp(); if_down(ifp); |