X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/cd8502743f6e16dbaab7eb1454cdb9bebafc2e57..02611e54fc55643ec109b255707ce9832e005ddf:/bgp.h diff --git a/bgp.h b/bgp.h index 79906e2..a791fc1 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; @@ -203,6 +203,7 @@ struct bgp_peer { int cli_flag; /* updates requested from CLI */ char *path_attrs; /* path attrs to send in UPDATE message */ int path_attr_len; /* length of path attrs */ + int path_attr_len_without_nexthop; /* length of path attrs without NEXT_HOP */ uint32_t events; /* events to poll */ struct event_data edata; /* poll data */ int handle_ipv6_routes; /* can handle IPv6 routes advertisements */