summaryrefslogtreecommitdiffstats
path: root/proto/bgp/bgp.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-04-21 15:01:28 +0200
committerMartin Mares <mj@ucw.cz>2000-04-21 15:01:28 +0200
commit8b258e4e659cd8bacf0f7e3997d30b43561ac3e6 (patch)
tree55f6ff6513cc3a581af8d2b2e2f9a701c13c4034 /proto/bgp/bgp.h
parent2a9e064d7b41ae6e944dd9fbcb18b89e8fda0dba (diff)
downloadbird-8b258e4e659cd8bacf0f7e3997d30b43561ac3e6.tar
bird-8b258e4e659cd8bacf0f7e3997d30b43561ac3e6.zip
LOCAL_PREF is now always present and exported over all ibgp connections [draft]
Allow setting of address of the local end of the TCP connection. Several bug fixes.
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 b8e1abc..2e22111 100644
--- a/proto/bgp/bgp.h
+++ b/proto/bgp/bgp.h
@@ -20,6 +20,7 @@ struct bgp_config {
ip_addr remote_ip;
int multihop; /* Number of hops if multihop */
ip_addr multihop_via; /* Multihop: address to route to */
+ ip_addr source_addr; /* Source address to use */
int next_hop_self; /* Always set next hop to local IP address */
int compare_path_lengths; /* Use path lengths when selecting best route */
u32 default_local_pref; /* Default value for LOCAL_PREF attribute */