tehmaze/ipcalc

Incorrect cast to IP in Network class comparisons

MuppyCwa opened this issue · 1 comments

There is a cast to IP when comparing (e.g. __eg__(), __lt__(), etc...) in the Network class. I suspect this is a copy-n-paste error?

Anyhow, changing from IP(other).size() to Network(other).size() solved my problem when comparing instances of network classes.

BR
Markus

Fixed in 49b0669