X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/a97b3720a47fd5b8bfef901ddb2afd66a40fd5bc..658f6aea7b968c7db3a1c2be58c62efb091c3984:/scripts/l2tpns-capture diff --git a/scripts/l2tpns-capture b/scripts/l2tpns-capture index d675518..6b31daf 100644 --- a/scripts/l2tpns-capture +++ b/scripts/l2tpns-capture @@ -12,7 +12,7 @@ use IO::File; use IO::Socket; use Time::HiRes 'gettimeofday'; -(my $cmd = $0) =~ s!.*//!!; +(my $cmd = $0) =~ s!.*/!!; die "Usage: $cmd PREFIX PORT\n" unless @ARGV == 2 and $ARGV[1] =~ /^\d+$/;