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

This commit is contained in:
Zuul
2023-12-01 12:39:27 +00:00
committed by Gerrit Code Review

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: