Skip to content

Commit ecb71ce

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "[DHCP agent] Fix route to OVN metadata port for non-isolated networks" into stable/2023.1
2 parents e75a01d + f81549c commit ecb71ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neutron/agent/linux/dhcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1290,7 +1290,7 @@ def _generate_opts_per_subnet(self):
12901290
if subnet_dhcp_ip:
12911291
metadata_route_ip = subnet_dhcp_ip
12921292

1293-
if not isolated_subnets[subnet.id] and gateway:
1293+
elif not isolated_subnets[subnet.id] and gateway:
12941294
metadata_route_ip = gateway
12951295

12961296
if metadata_route_ip:

0 commit comments

Comments
 (0)