X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/9f4e77cdac49f08e320e0d8ae9e66876fa51dedf..e7c9a1993778e9ac375d7f956dda7c3c802a83a5:/scripts/l2tpns-capture?ds=sidebyside 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+$/;