diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2009-11-17 11:41:29 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2009-11-17 11:41:29 +0100 |
commit | 3228c72cc030f409914134440a7e55bbcfc9ff6a (patch) | |
tree | 19a1ee75446e86e620dc0322e5e50e3c4a4eba27 /proto/bgp/bgp.h | |
parent | 2eece54a04d95f534b935ccac4c3959b25516bd5 (diff) |
Implements RFC 5004 - prefer older external routes.
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 0a82be2b..c487aafb 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] */ |