vici: Match identity with wildcards against remote ID in redirect command

This commit is contained in:
Tobias Brunner
2016-03-04 16:02:59 +01:00
parent e92364db66
commit bef4518de7
3 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ static void __attribute__ ((constructor))reg()
command_register((command_t) {
redirect, 'd', "redirect", "redirect an IKE_SA",
{"--ike <name> | --ike-id <id> | --peer-ip <ip>",
"--peer-id <id> | --gateway <ip|fqdn> [--raw|--pretty]"},
"--peer-id <id|wildcards> | --gateway <ip|fqdn> [--raw|--pretty]"},
{
{"help", 'h', 0, "show usage information"},
{"ike", 'i', 1, "redirect by IKE_SA name"},