summaryrefslogtreecommitdiffstats
path: root/proto/bgp/bgp.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-04-28 18:11:56 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-04-28 18:11:56 +0200
commitad440a570b37e8674ef35f3a18df48f0eb2579eb (patch)
treef3d0f586a5d9fa21fd1a64e8a5a96c9ca2b58771 /proto/bgp/bgp.h
parenta6ee026693a9c24c71dcf846abd32508782e0249 (diff)
downloadbird-ad440a570b37e8674ef35f3a18df48f0eb2579eb.tar
bird-ad440a570b37e8674ef35f3a18df48f0eb2579eb.zip
Fixes handling of 'next hop self' and 'source address' configuration
options.
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 d5448a6..83ed9c7 100644
--- a/proto/bgp/bgp.h
+++ b/proto/bgp/bgp.h
@@ -79,6 +79,7 @@ struct bgp_proto {
ip_addr next_hop; /* Either the peer or multihop_via */
struct neighbor *neigh; /* Neighbor entry corresponding to next_hop */
ip_addr local_addr; /* Address of the local end of the link to next_hop */
+ ip_addr source_addr; /* Address used as advertised next hop, usually local_addr */
struct event *event; /* Event for respawning and shutting process */
struct bgp_bucket **bucket_hash; /* Hash table of attribute buckets */
unsigned int hash_size, hash_count, hash_limit;