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:53 +0000 (11:50 -0500)
commit1c70856c1e21e3a75c4846f990c70eecdeee1cf2
tree7d068649d6a756d9fc7d6db9992bfea9d585f4e8
parentab8854a531a7fd141cbf5ec5a2e8694fd53fa62a
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