fix bad filter of AddressPool
diff --git a/xos/services/cord/models.py b/xos/services/cord/models.py
index 6fcef52..b8af9d9 100644
--- a/xos/services/cord/models.py
+++ b/xos/services/cord/models.py
@@ -756,7 +756,7 @@
def manage_wan_container_ip(self):
if CORD_USE_VTN:
if not self.wan_container_ip:
- ap = AddressPool.objects.filter("public_addresses")
+ ap = AddressPool.objects.filter(name="public_addresses")
if not ap:
raise Exception("AddressPool 'public_addresses' does not exist. Please configure it.")
ap = ap[0]