From 24c00cb11915edb8c13dbc21f245a73fc34689ed Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 12 Jun 2001 21:10:30 +0000 Subject: Install route into main routing table just if it's necessary. --- proto/ospf/rt.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'proto/ospf/rt.h') diff --git a/proto/ospf/rt.h b/proto/ospf/rt.h index efd09061..ba78e625 100644 --- a/proto/ospf/rt.h +++ b/proto/ospf/rt.h @@ -13,8 +13,9 @@ struct infib { struct fib_node fn; u16 metric; - u16 pad; + u16 oldmetric; struct top_hash_entry *en; + struct top_hash_entry *olden; }; struct extfib { @@ -24,6 +25,10 @@ struct extfib { ip_addr nh; u32 tag; struct iface *nhi; + u16 oldmetric; + u16 oldmetric2; + ip_addr oldnh; + u32 oldtag; }; void ospf_rt_spfa(struct ospf_area *oa); -- cgit v1.2.3