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

This commit is contained in:
Tobias Brunner committed 2016-03-04 16:03:00 +01:00
1 parent bef4518de7
commit 27074f3155
3 files changed
+43 -13

No files matched your search

+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"},