From: bodea Date: Wed, 12 Oct 2005 07:16:53 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: release_2_1_10~3 X-Git-Url: http://git.sameswireless.fr/l2tpns.git/commitdiff_plain/b95726afbe7dd4e338ce26f65e773965988e1c36 *** empty log message *** --- 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+$/;