kernel/netgraph7: Add missing braces.
authorSascha Wildner <saw@online.de>
Thu, 12 Mar 2015 20:53:35 +0000 (21:53 +0100)
committerSascha Wildner <saw@online.de>
Thu, 12 Mar 2015 20:54:49 +0000 (21:54 +0100)
sys/netgraph7/eiface/ng_eiface.c

index e864e31..012cf23 100644 (file)
@@ -153,9 +153,10 @@ ng_eiface_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *c
                                ifp->if_flags |= IFF_RUNNING;
                        }
                } else {
-                       if (ifp->if_flags & IFF_RUNNING)
+                       if (ifp->if_flags & IFF_RUNNING) {
                                ifq_clr_oactive(&ifp->if_snd);
                                ifp->if_flags &= ~(IFF_RUNNING);
+                       }
                }
                break;