Use enum to define IKE version on peer_cfg_t.
authorTobias Brunner <tobias@strongswan.org>
Wed, 16 Nov 2011 16:28:06 +0000 (17:28 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 20 Mar 2012 16:30:41 +0000 (17:30 +0100)
commitf7a8fcedc0305dfca7d82adba03c88401240d039
treee00296ac8545abdda0a6a58662711d365fbd07ff
parent3238faf8e6a91f554a76a376bacbc333c3530925
Use enum to define IKE version on peer_cfg_t.

Replaced all those magic numbers.
17 files changed:
src/conftest/config.c
src/libcharon/config/peer_cfg.c
src/libcharon/config/peer_cfg.h
src/libcharon/plugins/android/android_service.c
src/libcharon/plugins/ha/ha_tunnel.c
src/libcharon/plugins/load_tester/load_tester_config.c
src/libcharon/plugins/maemo/maemo_service.c
src/libcharon/plugins/medcli/medcli_config.c
src/libcharon/plugins/medsrv/medsrv_config.c
src/libcharon/plugins/nm/nm_service.c
src/libcharon/plugins/smp/smp.c
src/libcharon/plugins/sql/sql_config.c
src/libcharon/plugins/stroke/stroke_config.c
src/libcharon/plugins/stroke/stroke_control.c
src/libcharon/plugins/stroke/stroke_list.c
src/libcharon/plugins/uci/uci_config.c
src/libcharon/processing/jobs/start_action_job.c