summaryrefslogtreecommitdiffstats
path: root/proto/bgp/bgp.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-11-17 11:41:29 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2009-11-17 11:41:29 +0100
commit3228c72cc030f409914134440a7e55bbcfc9ff6a (patch)
tree19a1ee75446e86e620dc0322e5e50e3c4a4eba27 /proto/bgp/bgp.h
parent2eece54a04d95f534b935ccac4c3959b25516bd5 (diff)
downloadbird-3228c72cc030f409914134440a7e55bbcfc9ff6a.tar
bird-3228c72cc030f409914134440a7e55bbcfc9ff6a.zip
Implements RFC 5004 - prefer older external routes.
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 0a82be2..c487aaf 100644
--- a/proto/bgp/bgp.h
+++ b/proto/bgp/bgp.h
@@ -24,6 +24,7 @@ struct bgp_config {
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 */
+ int prefer_older; /* Prefer older routes according to RFC 5004 */
u32 default_local_pref; /* Default value for LOCAL_PREF attribute */
u32 default_med; /* Default value for MULTI_EXIT_DISC attribute */
int capabilities; /* Enable capability handshake [RFC3392] */