diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-04-11 12:22:47 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-04-11 12:22:47 +0200 |
commit | 6e8067609673afef9eb9e786f4e43a73a3b544f0 (patch) | |
tree | 1cdd206ace2b3c844fe72c8a99da9cf2bea30c22 /proto/ospf/topology.h | |
parent | 7969ea3b41db05294c78a5e0ec0bd3c29ae8c549 (diff) | |
download | bird-6e8067609673afef9eb9e786f4e43a73a3b544f0.tar bird-6e8067609673afef9eb9e786f4e43a73a3b544f0.zip |
Fixes next hop calculation on NBMA and parallel PTP links.
Diffstat (limited to 'proto/ospf/topology.h')
-rw-r--r-- | proto/ospf/topology.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/ospf/topology.h b/proto/ospf/topology.h index f6ba019..16d4c78 100644 --- a/proto/ospf/topology.h +++ b/proto/ospf/topology.h @@ -23,6 +23,9 @@ struct top_hash_entry ip_addr nh; /* Next hop */ ip_addr lb; /* Link back */ struct ospf_iface *nhi; /* Next hop interface */ +#ifdef OSPFv3 + u32 lb_id; /* Interface ID of link back iface (for bcast or NBMA networks) */ +#endif u32 dist; /* Distance from the root */ u16 ini_age; u8 color; |