bug: fix scanning size being too large.

This commit is contained in:
Upstream Data
2023-11-24 22:50:43 -07:00
parent 1d12817942
commit 7eda611fe9

View File

@@ -262,7 +262,7 @@ def compute_oct_range(octet: str) -> tuple:
except IndexError:
pass
if octet_end is None:
octet_end = int(octet_start) + 1
octet_end = int(octet_start)
octet_val_start = min([octet_start, octet_end])