✏️ fix typo on nibble

This commit is contained in:
otthorn 2021-04-18 00:33:30 +02:00
parent 2983c3d4db
commit d084bdefd0

View file

@ -58,7 +58,7 @@ def reverse_zone(network):
if network.version == 4: if network.version == 4:
boundary = 8 # break to the byte boundary = 8 # break to the byte
elif network.version == 6: elif network.version == 6:
boundary = 4 # break to the nimble boundary = 4 # break to the nibble
assert network.prefixlen % boundary == 0 assert network.prefixlen % boundary == 0
length = (network.prefixlen // boundary) length = (network.prefixlen // boundary)