Skip to content

Commit 6e0805b

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "[DHCP agent] Fix route to OVN metadata port for non-isolated networks" into stable/zed
2 parents ac47033 + cbebc3d commit 6e0805b

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

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

12271227
if metadata_route_ip:

0 commit comments

Comments
 (0)