Skip to content

Commit

Permalink
Merge branch 'israel-lugo-fix-subnet' into rel-0.7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
drkjam committed Jan 22, 2017
2 parents ebf7146 + c9f053c commit 4205371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netaddr/ip/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@ def subnet(self, prefixlen, count=None, fmt=None):
i = 0
while(i < count):
subnet = self.__class__('%s/%d' % (base_subnet, prefixlen),
self._module.version)
False, self._module.version)
subnet.value += (subnet.size * i)
subnet.prefixlen = prefixlen
i += 1
Expand Down

0 comments on commit 4205371

Please sign in to comment.