Advertise IPv6 capability to peers.
Also rename a param define, and fix a forgotten ntohs(). Signed-off-by: Benjamin Cama <benoar@dolka.fr>
This commit is contained in:
parent
1032adb5b4
commit
5305d86922
2 changed files with 18 additions and 4 deletions
2
bgp.h
2
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue