ovn-controller: Update check for parent port.
authorRussell Bryant <russell@ovn.org>
Wed, 20 Jan 2016 16:17:58 +0000 (11:17 -0500)
committerRussell Bryant <russell@ovn.org>
Thu, 21 Jan 2016 16:50:01 +0000 (11:50 -0500)
commit8d24e9c06b15399259c0324fc6c5c83174291014
tree7821a0195d0c70acb31c6f09e52a056d64c7821f
parentebd3ce14b3cd3cae5380a04eb40faf5f1223fcb4
ovn-controller: Update check for parent port.

There were a couple of checks that checked for a parent port as the
field being non-NULL.  We should treat an empty string the same as NULL
for this field.

Signed-off-by: Russell Bryant <russell@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
ovn/controller/physical.c