
Updating MaaS to 2.3.5, as 2.3.0 appears to no longer be available in the Ubuntu repo. Change-Id: I5afb38d8e73485be1ab05a9ac2a18e1befe70152
14 lines
475 B
Diff
14 lines
475 B
Diff
diff --git a/src/maasserver/preseed_network.py b/src/maasserver/preseed_network.py
|
|
index bb56765..1185ff1 100644
|
|
--- a/src/maasserver/preseed_network.py
|
|
+++ b/src/maasserver/preseed_network.py
|
|
@@ -203,7 +203,7 @@ class InterfaceConfiguration:
|
|
return {
|
|
route
|
|
for route in self.routes
|
|
- if route.source == source
|
|
+ if str(route.source.cidr) == str(source.cidr)
|
|
}
|
|
|
|
def _generate_addresses(self, version=1):
|