diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2006-09-15 15:53:09 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2006-09-15 15:53:09 +0000 |
| commit | 3d82b8705776bc4ae9767355dea5f60efcc39efa (patch) | |
| tree | 0cd0115d962a1f93a7d01ac1644e3f5bb7c1086e | |
| parent | aed8e389c1c32712b6c2ab374b41aa0ce3fbea76 (diff) | |
Notes
| -rw-r--r-- | sys/netgraph/ng_eiface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_eiface.c b/sys/netgraph/ng_eiface.c index 1e0f0b3a7d31..bef1c2672046 100644 --- a/sys/netgraph/ng_eiface.c +++ b/sys/netgraph/ng_eiface.c @@ -145,7 +145,7 @@ ng_eiface_ioctl(struct ifnet *ifp, u_long command, caddr_t data) * If the interface is marked up and stopped, then start it. * If it is marked down and running, then stop it. */ - if (ifr->ifr_flags & IFF_UP) { + if (ifp->if_flags & IFF_UP) { if (!(ifp->if_drv_flags & IFF_DRV_RUNNING)) { ifp->if_drv_flags &= ~(IFF_DRV_OACTIVE); ifp->if_drv_flags |= IFF_DRV_RUNNING; |
