X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/9cb9a8b436315ee795f48181f95c2b9ee132593c..35db9687ff306106fce16482509c5f2a2fc0e917:/l2tpns.h diff --git a/l2tpns.h b/l2tpns.h index c2d61c4..f6626e3 100644 --- a/l2tpns.h +++ b/l2tpns.h @@ -1,5 +1,5 @@ // L2TPNS Global Stuff -// $Id: l2tpns.h,v 1.31 2004-11-09 08:05:02 bodea Exp $ +// $Id: l2tpns.h,v 1.34 2004-11-15 07:01:54 bodea Exp $ #ifndef __L2TPNS_H__ #define __L2TPNS_H__ @@ -15,7 +15,7 @@ #include #include -#define VERSION "2.0.3" +#define VERSION "2.0.7" // Limits #define MAXTUNNEL 500 // could be up to 65535 @@ -460,9 +460,14 @@ struct configt int cluster_hb_timeout; // How many missed heartbeats trigger an election. #ifdef BGP +#define BGP_NUM_PEERS 2 u16 as_number; - char bgp_peer[2][64]; - u16 bgp_peer_as[2]; + struct { + char name[64]; + u16 as; + int keepalive; + int hold; + } neighbour[BGP_NUM_PEERS]; #endif };