vici: Match subnets and ranges against peer IP in redirect command

This commit is contained in:
Tobias Brunner
2016-03-04 16:03:00 +01:00
parent bef4518de7
commit 27074f3155
3 changed files with 43 additions and 13 deletions
+1 -1
View File
@@ -116,7 +116,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>",
{"--ike <name> | --ike-id <id> | --peer-ip <ip|subnet|range>",
"--peer-id <id|wildcards> | --gateway <ip|fqdn> [--raw|--pretty]"},
{
{"help", 'h', 0, "show usage information"},