Compare the content of PM_ASN_SET in path masks. A reconfiguration
was not properly triggering a reload of affected protocols when the
members of a set in a path mask change.
Also, update the printing code to so that it can display sets in a path
mask.
buffer_print(buf, "%u..%u ", p->item[i].from, p->item[i].to);
break;
+ case PM_ASN_SET:
+ tree_format(p->item[i].set, buf);
+ buffer_puts(buf, " ");
+ break;
+
case PM_ASN_EXPR:
ASSERT(0);
}
if (mi1->to != mi2->to)
return 0;
break;
+ case PM_ASN_SET:
+ if (!same_tree(mi1->set, mi2->set))
+ return 0;
+ break;
}
return 1;