X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/d7e506baf457af512f47bbe7a4d50dfd9bab087c..78a7085778868f1bc0e5e5542b7e208f943e3778:/bgp.h diff --git a/bgp.h b/bgp.h index 28b315b..91adb88 100644 --- a/bgp.h +++ b/bgp.h @@ -50,7 +50,7 @@ struct bgp_opt_param { char value[BGP_MAX_OPT_PARAM_SIZE]; } __attribute__ ((packed)); -#define BGP_CAPABILITY_PARAM_TYPE 2 +#define BGP_PARAM_TYPE_CAPABILITY 2 struct bgp_capability { uint8_t code; uint8_t len; @@ -205,6 +205,7 @@ struct bgp_peer { int path_attr_len; /* length of path attrs */ uint32_t events; /* events to poll */ struct event_data edata; /* poll data */ + int handle_ipv6_routes; /* can handle IPv6 routes advertisements */ }; /* bgp_peer.cli_flag */