projects
/
l2tpns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Disable IPv6 routes adv when peer doesn't support it.
[l2tpns.git]
/
bgp.h
diff --git
a/bgp.h
b/bgp.h
index
28b315b
..
91adb88
100644
(file)
--- a/
bgp.h
+++ b/
bgp.h
@@
-50,7
+50,7
@@
struct bgp_opt_param {
char value[BGP_MAX_OPT_PARAM_SIZE];
} __attribute__ ((packed));
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;
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 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 */
};
/* bgp_peer.cli_flag */