charon-cmd: Add an --ike-proposal option to specify non-default IKE proposals

This commit is contained in:
Martin Willi committed 2014-02-06 15:57:36 +01:00
1 parent 1df1430146
commit 2796cf59bc
3 files changed
+34 -1

No files matched your search

+2
View File
@@ -56,6 +56,8 @@ cmd_option_t cmd_options[CMD_OPT_COUNT] = {
"additional traffic selector to propose for our side", {}},
{ CMD_OPT_REMOTE_TS, "remote-ts", required_argument, "subnet",
"traffic selector to propose for remote side", {}},
{ CMD_OPT_IKE_PROPOSAL, "ike-proposal", required_argument, "proposal",
"a single IKE proposal to offer instead of the default", {}},
{ CMD_OPT_PROFILE, "profile", required_argument, "name",
"authentication profile to use, where name is one of:", {
" ikev2-pub, ikev2-eap, ikev2-pub-eap",