]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
Small cleanup on previous patch
authorDaniel Veillard <veillard@redhat.com>
Thu, 30 Aug 2012 07:18:02 +0000 (15:18 +0800)
committerDaniel Veillard <veillard@redhat.com>
Thu, 30 Aug 2012 07:18:02 +0000 (15:18 +0800)
As pointed by Eric Blake

src/util/virnetdevopenvswitch.c

index 06debd7912b16783ec068653e761eb8e720d21a6..00271a0005cd1a0477724c4ed211a692752bfab2 100644 (file)
@@ -83,7 +83,7 @@ int virNetDevOpenvswitchAddPort(const char *brname, const char *ifname,
     if (virtVlan && virtVlan->nTags > 0) {
 
         /* Trunk port first */
-        if (virtVlan->trunk == true) {
+        if (virtVlan->trunk) {
             virBufferAddLit(&buf, "trunk=");
 
             /*