diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2009-03-05 11:52:47 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2009-03-05 11:52:47 +0100 |
commit | e3299ab14877de6ce688050e550c44cd4e85b212 (patch) | |
tree | 7c54570a3b010051e2e957667bfb7121af346447 /proto/bgp/bgp.h | |
parent | 82a79586e5810af2f0338cb4c5982e085b5c5292 (diff) |
Added Cisco and Quagga capability workaround option.
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r-- | proto/bgp/bgp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h index b0ead9d3..bdad1a4d 100644 --- a/proto/bgp/bgp.h +++ b/proto/bgp/bgp.h @@ -29,6 +29,7 @@ struct bgp_config { u32 rr_cluster_id; /* Route reflector cluster ID, if different from local ID */ int rr_client; /* Whether neighbor is RR client of me */ int rs_client; /* Whether neighbor is RS client of me */ + int advertise_ipv4; /* Whether we should add IPv4 capability advertisement to OPEN message */ unsigned connect_retry_time; unsigned hold_time, initial_hold_time; unsigned keepalive_time; @@ -259,6 +260,7 @@ void bgp_log_error(struct bgp_proto *p, char *msg, unsigned code, unsigned subco /* Address families */ +#define BGP_AF_IPV4 1 #define BGP_AF_IPV6 2 #endif |