]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Static: fixed ASPA reconfiguration mq-fix-static-aspa
authorMaria Matejka <mq@ucw.cz>
Thu, 26 Dec 2024 10:34:02 +0000 (11:34 +0100)
committerOndřej Zajíček <santiago@crfreenet.org>
Thu, 9 Jan 2025 00:08:59 +0000 (01:08 +0100)
Due to an oversight, the provider lists weren't compared on reconfiguration.

Reported-By: Ralph Covelli <rcovelli@he.net>
proto/static/static.c

index 3101db2fc431a7f16abb1e5f782165b4cbdadc5e..65fdb701d0f1debcf72b08deacd20e549f7693ca 100644 (file)
@@ -373,6 +373,9 @@ static_same_dest(struct static_route *x, struct static_route *y)
   if (x->dest != y->dest)
     return 0;
 
+  if (x->net->type == NET_ASPA)
+    return adata_same(x->aspa, y->aspa);
+
   switch (x->dest)
   {
   case RTD_UNICAST: