summaryrefslogtreecommitdiff
path: root/proto/ospf/rt.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2001-06-12 21:10:30 +0000
committerOndrej Filip <feela@network.cz>2001-06-12 21:10:30 +0000
commit24c00cb11915edb8c13dbc21f245a73fc34689ed (patch)
treeea132db069855dcf2271ced554e94a35c9acf841 /proto/ospf/rt.h
parentc48b33292b6d39cdacd642565907c0d5b90adc68 (diff)
Install route into main routing table just if it's necessary.
Diffstat (limited to 'proto/ospf/rt.h')
-rw-r--r--proto/ospf/rt.h7
1 files changed, 6 insertions, 1 deletions
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);