From 53ffbff39f054e1302fb296327b9bb1b4f88226c Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Sun, 8 Jan 2012 15:28:27 +0100 Subject: Implements support for link-local addresses in BGP. Thanks Matthias Schiffer for the original patch. --- proto/bgp/bgp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'proto/bgp/bgp.h') diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h index 0c50583b..a8c5818e 100644 --- a/proto/bgp/bgp.h +++ b/proto/bgp/bgp.h @@ -19,9 +19,10 @@ struct bgp_config { struct proto_config c; u32 local_as, remote_as; ip_addr remote_ip; + ip_addr source_addr; /* Source address to use */ + struct iface *iface; /* Interface for link-local addresses */ int multihop; /* Number of hops if multihop */ int ttl_security; /* Enable TTL security [RFC5082] */ - ip_addr source_addr; /* Source address to use */ int next_hop_self; /* Always set next hop to local IP address */ int missing_lladdr; /* What we will do when we don' know link-local addr, see MLL_* */ int gw_mode; /* How we compute route gateway from next_hop attr, see GW_* */ -- cgit v1.2.3