From d1e146f2f8da303af7bbe0cec363cc15c58c37fd Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Sat, 31 Jul 2010 01:04:32 +0200 Subject: Implements IGP metric comparison for BGP routes. --- nest/rt-attr.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nest/rt-attr.c') diff --git a/nest/rt-attr.c b/nest/rt-attr.c index 9caee8d..d714818 100644 --- a/nest/rt-attr.c +++ b/nest/rt-attr.c @@ -584,9 +584,11 @@ rta_same(rta *x, rta *y) x->cast == y->cast && x->dest == y->dest && x->flags == y->flags && + x->igp_metric == y->igp_metric && ipa_equal(x->gw, y->gw) && ipa_equal(x->from, y->from) && x->iface == y->iface && + x->hostentry == y->hostentry && ea_same(x->eattrs, y->eattrs)); } -- cgit v1.2.3