aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--whoseip/whoseip.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/whoseip/whoseip.pl b/whoseip/whoseip.pl
index ca6ce17..0dffcf5 100644
--- a/whoseip/whoseip.pl
+++ b/whoseip/whoseip.pl
@@ -141,7 +141,7 @@ sub str2ipv4 {
sub range2count {
my @a = split /-/, shift;
return 0 unless $#a == 1;
- return str2ipv4($a[1]) - str2ipv4($a[0]);
+ return str2ipv4($a[1]) - str2ipv4($a[0]) + 1;
}
# ############
@@ -703,17 +703,17 @@ whoseip - return information about IP address
B<whoiseip>
[B<-dh>]
[B<-F> I<FILE>]
-[B<-f> I<FILE>]
[B<-D> I<FILE>]
+[B<-i> I<FILE>]
[B<--debug>]
[B<--define-format=>I<NAME>B<=>I<TEXT>]
[B<--dump=>I<FILE>]
[B<--fastcgi=>[I<SUFFIX...>]]
-[B<--file=>I<FILE>]
[B<--format=>I<TEXT>]
[B<--format-file=>[I<NAME>B<=>]I<FILE>]
[B<--formfile=>I<FILE>]
[B<--help>]
+[B<--ip-list=>I<FILE>]
[B<--usage>]
[I<IPADDR>...]

Return to:

Send suggestions and report system problems to the System administrator.