diff options
Diffstat (limited to 'src/ipsec')
-rwxr-xr-x | src/ipsec/ipsec.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ipsec/ipsec.in b/src/ipsec/ipsec.in index 9cae2475d..6ef2faf55 100755 --- a/src/ipsec/ipsec.in +++ b/src/ipsec/ipsec.in @@ -116,6 +116,21 @@ down) fi exit "$rc" ;; +down-srcip) + shift + if [ "$#" -lt 1 ] + then + echo "Usage: ipsec down-srcip <start> [<end>]" + exit 2 + fi + rc=7 + if [ -e $IPSEC_CHARON_PID ] + then + $IPSEC_STROKE down-srcip $* + rc="$?" + fi + exit "$rc" + ;; listalgs|listpubkeys|\listcards|\rereadgroups) op="$1" shift |