We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a6f088 commit 58448b7Copy full SHA for 58448b7
jfscan/__version__.py
@@ -1,3 +1,3 @@
1
-VERSION = (1, 5, 1)
+VERSION = (1, 6, 2)
2
3
__version__ = ".".join(map(str, VERSION))
jfscan/core/resources.py
@@ -249,9 +249,9 @@ def count_ips(self):
249
250
for (cidr,) in cidrs:
251
if Validator.is_ipv6_cidr(cidr):
252
- address_count += (2 ** (128 - int(cidr.split("/")[1]))) - 2
+ address_count += (2 ** (128 - int(cidr.split("/")[1])))
253
elif Validator.is_ipv4_cidr(cidr):
254
- address_count += (2 ** (32 - int(cidr.split("/")[1]))) - 2
+ address_count += (2 ** (32 - int(cidr.split("/")[1])))
255
256
ips_count = cur.execute("SELECT count(DISTINCT ip) FROM ips_to_scan").fetchall()
257
0 commit comments