Skip to content

Commit 8bdd9b4

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "[DHCP agent] Fix route to OVN metadata port for non-isolated networks" into stable/yoga
2 parents 9776e9e + 481582a commit 8bdd9b4

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
@@ -1220,7 +1220,7 @@ def _generate_opts_per_subnet(self):
12201220
if subnet_dhcp_ip:
12211221
metadata_route_ip = subnet_dhcp_ip
12221222

1223-
if not isolated_subnets[subnet.id] and gateway:
1223+
elif not isolated_subnets[subnet.id] and gateway:
12241224
metadata_route_ip = gateway
12251225

12261226
if metadata_route_ip:

0 commit comments

Comments
 (0)