we don't need IFF_RUNNING for gif.

This commit is contained in:
itojun 2000-01-17 06:29:07 +00:00
parent 2042e749ad
commit 3867d18179
1 changed files with 2 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_gif.c,v 1.6 2000/01/17 05:50:12 itojun Exp $ */
/* $NetBSD: if_gif.c,v 1.7 2000/01/17 06:29:07 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@ -419,7 +419,7 @@ gif_ioctl(ifp, cmd, data)
bcopy((caddr_t)dst, (caddr_t)sa, size);
sc->gif_pdst = sa;
ifp->if_flags |= (IFF_UP|IFF_RUNNING);
ifp->if_flags |= IFF_UP;
if_up(ifp); /* send up RTM_IFINFO */
break;
@ -485,11 +485,6 @@ gif_ioctl(ifp, cmd, data)
break;
case SIOCSIFFLAGS:
/* sync "running" with "up" */
if (ifp->if_flags & IFF_UP)
ifp->if_flags |= IFF_RUNNING;
else
ifp->if_flags &= ~IFF_RUNNING;
break;
default: