diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-11-16 17:28:06 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-03-20 17:30:41 +0100 |
commit | f7a8fcedc0305dfca7d82adba03c88401240d039 (patch) | |
tree | e00296ac8545abdda0a6a58662711d365fbd07ff /src/conftest/config.c | |
parent | 3238faf8e6a91f554a76a376bacbc333c3530925 (diff) | |
download | strongswan-f7a8fcedc0305dfca7d82adba03c88401240d039.tar.bz2 strongswan-f7a8fcedc0305dfca7d82adba03c88401240d039.tar.xz |
Use enum to define IKE version on peer_cfg_t.
Replaced all those magic numbers.
Diffstat (limited to 'src/conftest/config.c')
-rw-r--r-- | src/conftest/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conftest/config.c b/src/conftest/config.c index 952141211..51d491de5 100644 --- a/src/conftest/config.c +++ b/src/conftest/config.c @@ -251,7 +251,7 @@ static peer_cfg_t *load_peer_config(private_config_t *this, uintptr_t strength; ike_cfg = load_ike_config(this, settings, config); - peer_cfg = peer_cfg_create(config, 2, ike_cfg, CERT_ALWAYS_SEND, + peer_cfg = peer_cfg_create(config, IKEV2, ike_cfg, CERT_ALWAYS_SEND, UNIQUE_NO, 1, 0, 0, 0, 0, FALSE, 0, NULL, NULL, FALSE, NULL, NULL); |