If the ovn-nb DB's logical_port table is populated such
that tag is zero, we should not consider that record.
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Russell Bryant <rbryant@redhat.com>
}
ofport = u16_to_ofp(simap_get(&localnet_to_ofport, network));
} else if (binding->parent_port) {
+ if (!binding->tag || !*binding->tag) {
+ continue;
+ }
ofport = u16_to_ofp(simap_get(&localvif_to_ofport,
binding->parent_port));
- if (ofport && binding->tag) {
+ if (ofport) {
tag = *binding->tag;
}
} else {