1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Protocol hooks. All of them may be NULL.

This commit is contained in:
Martin Mares
1998-06-03 08:40:10 +00:00
parent 7f4a39886c
commit d9f330c5ff
3 changed files with 17 additions and 6 deletions

View File

@@ -62,7 +62,7 @@ rta_same(rta *x, rta *y)
ipa_equal(x->from, y->from) &&
x->iface == y->iface &&
ea_same(x->attrs, y->attrs) &&
x->proto->rta_same(x, y));
(!x->proto->rta_same || x->proto->rta_same(x, y)));
}
static inline ea_list *