Add reqid keyword to config connection section.
This commit is contained in:
committed by
Martin Willi
parent
93be4ac44d
commit
2b26a9c30d
@@ -233,6 +233,7 @@ static const token_info_t token_info[] =
|
||||
{ ARG_ENUM, offsetof(starter_conn_t, me_mediation), LST_bool },
|
||||
{ ARG_STR, offsetof(starter_conn_t, me_mediated_by), NULL },
|
||||
{ ARG_STR, offsetof(starter_conn_t, me_peerid), NULL },
|
||||
{ ARG_UINT, offsetof(starter_conn_t, reqid), NULL },
|
||||
|
||||
/* ca section keywords */
|
||||
{ ARG_STR, offsetof(starter_ca_t, name), NULL },
|
||||
|
||||
@@ -120,6 +120,7 @@ struct starter_conn {
|
||||
u_int64_t sa_ipsec_margin_packets;
|
||||
unsigned long sa_keying_tries;
|
||||
unsigned long sa_rekey_fuzz;
|
||||
u_int32_t reqid;
|
||||
sa_family_t addr_family;
|
||||
sa_family_t tunnel_addr_family;
|
||||
bool install_policy;
|
||||
|
||||
@@ -96,9 +96,10 @@ typedef enum {
|
||||
KW_MEDIATION,
|
||||
KW_MEDIATED_BY,
|
||||
KW_ME_PEERID,
|
||||
KW_REQID,
|
||||
|
||||
#define KW_CONN_FIRST KW_CONN_SETUP
|
||||
#define KW_CONN_LAST KW_ME_PEERID
|
||||
#define KW_CONN_LAST KW_REQID
|
||||
|
||||
/* ca section keywords */
|
||||
KW_CA_NAME,
|
||||
|
||||
@@ -87,6 +87,7 @@ xauth, KW_XAUTH
|
||||
mediation, KW_MEDIATION
|
||||
mediated_by, KW_MEDIATED_BY
|
||||
me_peerid, KW_ME_PEERID
|
||||
reqid, KW_REQID
|
||||
cacert, KW_CACERT
|
||||
ldaphost, KW_LDAPHOST
|
||||
ldapbase, KW_LDAPBASE
|
||||
|
||||
Reference in New Issue
Block a user