kernel/ng_iface: Add missing braces.
authorSascha Wildner <saw@online.de>
Sat, 27 Apr 2013 01:03:29 +0000 (03:03 +0200)
committerSascha Wildner <saw@online.de>
Sat, 27 Apr 2013 01:03:29 +0000 (03:03 +0200)
sys/netgraph/iface/ng_iface.c

index 02e448b..df82feb 100644 (file)
@@ -369,9 +369,10 @@ ng_iface_ioctl(struct ifnet *ifp, u_long command, caddr_t data,
                                ifp->if_flags |= IFF_RUNNING;
                        }
                } else {
-                       if (ifp->if_flags & IFF_RUNNING)
+                       if (ifp->if_flags & IFF_RUNNING) {
                                ifp->if_flags &= ~IFF_RUNNING;
                                ifq_clr_oactive(&ifp->if_snd);
+                       }
                }
                break;