Merge "[DHCP agent] Fix route to OVN metadata port for non-isolated networks" into stable/xena

This commit is contained in:
Zuul 2023-11-29 14:32:45 +00:00 committed by Gerrit Code Review
commit 183c208ac2

View File

@ -1213,7 +1213,7 @@ class Dnsmasq(DhcpLocalProcess):
if subnet_dhcp_ip:
metadata_route_ip = subnet_dhcp_ip
if not isolated_subnets[subnet.id] and gateway:
elif not isolated_subnets[subnet.id] and gateway:
metadata_route_ip = gateway
if metadata_route_ip: