Add route_protocol option
To be able to distinguish routes from several running l2tpns instances.
This commit is contained in:
parent
44b01d70c6
commit
b793850d2f
5 changed files with 37 additions and 18 deletions
5
l2tpns.h
5
l2tpns.h
|
|
@ -783,6 +783,8 @@ typedef struct
|
|||
int account_all_origin; // Accouting all origin (LAC data + Remote LNS Data + PPPOE data)
|
||||
in_addr_t bind_address;
|
||||
in_addr_t peer_address;
|
||||
struct in6_addr ipv6_prefix; // Our IPv6 network pool.
|
||||
uint16_t route_protocol; // Route protocol number to use
|
||||
int send_garp; // Set to true to garp for vip address on startup
|
||||
|
||||
int dump_speed;
|
||||
|
|
@ -822,9 +824,6 @@ typedef struct
|
|||
int cluster_hb_timeout; // How many missed heartbeats trigger an election.
|
||||
uint64_t cluster_table_version; // # state changes processed by cluster
|
||||
|
||||
struct in6_addr ipv6_prefix; // Our IPv6 network pool.
|
||||
|
||||
|
||||
int cluster_master_min_adv; // Master advertises routes while the number of up to date
|
||||
// slaves is less than this value.
|
||||
in_addr_t cli_bind_address; // bind address for CLI
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue