summaryrefslogtreecommitdiff
path: root/nest/rt-attr.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-06-03 08:40:10 +0000
committerMartin Mares <mj@ucw.cz>1998-06-03 08:40:10 +0000
commitd9f330c5ffe03c05b7e6541a06adac657f24407b (patch)
tree854204008b0e425669e9b1fbbd71138cdc82d0d0 /nest/rt-attr.c
parent7f4a39886c128bfc2e39987180eb1482ee04d553 (diff)
Protocol hooks. All of them may be NULL.
Diffstat (limited to 'nest/rt-attr.c')
-rw-r--r--nest/rt-attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-attr.c b/nest/rt-attr.c
index e6676252..5f386a76 100644
--- a/nest/rt-attr.c
+++ b/nest/rt-attr.c
@@ -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 *