diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2011-03-24 17:30:21 +0000 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2011-03-28 11:27:41 +0100 |
commit | f5a4827db60545309d0ee378b85acac56cf7837a (patch) | |
tree | a28de765a209f772d1b95b78a357ddf17318844a /bgpd/bgpd.h | |
parent | d876bdf4a84f40ac3f9bec8d5040858b3725db3e (diff) |
bgpd: refine the setting up of GTSM
* bgpd.h: Add error code for setting GTSM on iBGP
* bgpd.c: (peer_ttl_security_hops_set) use previous error code and signal
incompatibility of GTSM+iBGP to vty.
Consider the session state when setting GTSM, and reset Open/Active peers
to let them pick up new TTL from start.
Diffstat (limited to 'bgpd/bgpd.h')
-rw-r--r-- | bgpd/bgpd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h index 39cdf8eb..4da19e71 100644 --- a/bgpd/bgpd.h +++ b/bgpd/bgpd.h @@ -802,7 +802,8 @@ enum bgp_clear_type #define BGP_ERR_CANNOT_HAVE_LOCAL_AS_SAME_AS -28 #define BGP_ERR_TCPSIG_FAILED -29 #define BGP_ERR_NO_EBGP_MULTIHOP_WITH_TTLHACK -30 -#define BGP_ERR_MAX -31 +#define BGP_ERR_NO_IBGP_WITH_TTLHACK -31 +#define BGP_ERR_MAX -32 extern struct bgp_master *bm; |