Added expired to a known sync state
authorLeonidas Poulopoulos <leopoul@noc.grnet.gr>
Wed, 7 Dec 2011 12:15:30 +0000 (14:15 +0200)
committerLeonidas Poulopoulos <leopoul@noc.grnet.gr>
Wed, 7 Dec 2011 12:15:30 +0000 (14:15 +0200)
flowspec/models.py

index 9d7c151..404544c 100644 (file)
@@ -253,7 +253,7 @@ class Route(models.Model):
                     self.status = "ACTIVE"
                     self.save()
                     found = True
-            if self.status == "ADMININACTIVE" or self.status == "INACTIVE":
+            if self.status == "ADMININACTIVE" or self.status == "INACTIVE" or self.status == "EXPIRED":
                 found = True
         return found