diff options
author | Ondrej Filip <feela@network.cz> | 2005-02-12 23:18:48 +0100 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2005-02-12 23:18:48 +0100 |
commit | 9912fa51c8dabbbdf068d271ee7bddfb4a8526ef (patch) | |
tree | 945981d3b7fa44601ae682acb6ec722a1102f098 /proto/ospf | |
parent | 4991756863538cc5168cc5f10b2599c84eafd8bf (diff) | |
download | bird-9912fa51c8dabbbdf068d271ee7bddfb4a8526ef.tar bird-9912fa51c8dabbbdf068d271ee7bddfb4a8526ef.zip |
Bugfix - cost of interface can be larger than 0xffff
Diffstat (limited to 'proto/ospf')
-rw-r--r-- | proto/ospf/ospf.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h index 6992f3e..352cd76 100644 --- a/proto/ospf/ospf.h +++ b/proto/ospf/ospf.h @@ -133,10 +133,7 @@ struct ospf_iface sock *dr_sk; /* For states DR or BACKUP */ sock *ip_sk; /* IP socket (for DD ...) */ list neigh_list; /* List of neigbours */ - u16 cost; /* Cost of iface */ - u16 inftransdelay; /* The estimated number of seconds it takes to - transmit a Link State Update Packet over this - interface. LSAs contained in the update */ + u32 cost; /* Cost of iface */ u32 waitint; /* number of sec before changing state from wait */ u32 rxmtint; /* number of seconds between LSA retransmissions */ u32 pollint; /* Poll interval */ @@ -144,6 +141,9 @@ struct ospf_iface u32 vid; /* Id of peer of virtual link */ ip_addr vip; /* IP of peer of virtual link */ struct ospf_area *voa; /* Area wich the vlink goes through */ + u16 inftransdelay; /* The estimated number of seconds it takes to + transmit a Link State Update Packet over this + interface. LSAs contained in the update */ u16 autype; u16 helloint; /* number of seconds between hello sending */ list *passwords; |