summaryrefslogtreecommitdiffstats
path: root/proto/bgp/bgp.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2003-02-22 23:47:45 +0100
committerMartin Mares <mj@ucw.cz>2003-02-22 23:47:45 +0100
commit11d4474c17e76e9811dcb32f555fa1c6f3684fab (patch)
tree68ed6fd715e7b72eba4bcfec7d3ef2990373915f /proto/bgp/bgp.h
parent7b7a7b43a6915efbe9180f07cd1284a39efacf02 (diff)
downloadbird-11d4474c17e76e9811dcb32f555fa1c6f3684fab.tar
bird-11d4474c17e76e9811dcb32f555fa1c6f3684fab.zip
Better selection of link-local NLRI addresses, at least for our own
address. Need to do it better for the other neighbors -- the current solution works only if they use the standard 64+64 global addresses and the interface identifier in lower 64 bits is the same as for the link-scope addresses.
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r--proto/bgp/bgp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h
index 03f47f9..6519db8 100644
--- a/proto/bgp/bgp.h
+++ b/proto/bgp/bgp.h
@@ -74,6 +74,7 @@ struct bgp_proto {
#ifdef IPV6
byte *mp_reach_start, *mp_unreach_start; /* Multiprotocol BGP attribute notes */
unsigned mp_reach_len, mp_unreach_len;
+ ip_addr local_link; /* Link-level version of local_addr */
#endif
};