tehmaze/ipcalc — Issue #5: small typo prevents comparing IPs
Author: andyka
Created: 2012-02-02 10:12:37+00:00
State: open

There is a typo in line 169:

# Netmask is numeric CIDR subnet
elif type(self.mask) in [int, long] or self.mask.isdigit():
self.mask = int(mask) # typo!!!

The line should read:

self.mask = int(self.mask)