Select IKEv1 configurations by main/aggressive mode option

This commit is contained in:
Martin Willi
2012-03-20 17:31:34 +01:00
parent 5ce59d4c06
commit 91c212fd6a
4 changed files with 8 additions and 5 deletions
+2 -1
View File
@@ -91,11 +91,12 @@ struct phase1_t {
* Select a peer config as responder.
*
* @param method used authentication method
* @param aggressive TRUE to get an aggressive mode config
* @param id initiator identity
* @return selected peer config, NULL if none found
*/
peer_cfg_t* (*select_config)(phase1_t *this, auth_method_t method,
identification_t *id);
bool aggressive, identification_t *id);
/**
* Get configured identity from peer config.