peer-cfg: Use flags for boolean options
Makes it potentially easier to add new flags. The mediation flag is not converted as the #ifdefs make it awkward.
This commit is contained in:
@@ -170,7 +170,7 @@ static peer_cfg_t* create_peer_cfg(private_cmd_connection_t *this)
|
||||
case PROF_V1_XAUTH_AM:
|
||||
case PROF_V1_XAUTH_PSK_AM:
|
||||
case PROF_V1_HYBRID_AM:
|
||||
peer.aggressive = TRUE;
|
||||
peer.options |= OPT_IKEV1_AGGRESSIVE;
|
||||
/* FALL */
|
||||
case PROF_V1_PUB:
|
||||
case PROF_V1_XAUTH:
|
||||
|
||||
Reference in New Issue
Block a user