X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fvlandev.c;h=d2f5a37e10d25ff7c159e675e39a1b8c91762868;hb=c5cf10598f8c9f4428291e9df3ecd72a05fb1ccf;hp=382487cdc7a91cd8b0866ceaf8a99233729b5367;hpb=2f51a7ebdaeb1067e3eef873c62f6c22989c9aad;p=sliver-openvswitch.git diff --git a/lib/vlandev.c b/lib/vlandev.c index 382487cdc..d2f5a37e1 100644 --- a/lib/vlandev.c +++ b/lib/vlandev.c @@ -374,7 +374,7 @@ static int vlandev_del__(const char *vlan_dev) { struct shash_node *vd_node = shash_find(&vlan_devs, vlan_dev); - if (!vd_node) { + if (vd_node) { struct vlan_dev *vd = vd_node->data; struct vlan_real_dev *vrd = vd->real_dev;