From 6e8067609673afef9eb9e786f4e43a73a3b544f0 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Sun, 11 Apr 2010 12:22:47 +0200 Subject: Fixes next hop calculation on NBMA and parallel PTP links. --- proto/ospf/topology.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'proto/ospf/topology.h') 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; -- cgit v1.2.3