Signed-off-by: ZhengLingyun <konghuaru...@163.com> --- lib/vlandev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/vlandev.c b/lib/vlandev.c index 382487c..d2f5a37 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; -- 1.7.9.5
_______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev