diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2009-04-28 18:11:56 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2009-04-28 18:11:56 +0200 |
commit | ad440a570b37e8674ef35f3a18df48f0eb2579eb (patch) | |
tree | f3d0f586a5d9fa21fd1a64e8a5a96c9ca2b58771 /proto/bgp/bgp.h | |
parent | a6ee026693a9c24c71dcf846abd32508782e0249 (diff) |
Fixes handling of 'next hop self' and 'source address' configuration
options.
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r-- | proto/bgp/bgp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h index d5448a68..83ed9c75 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; |