summaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
Diffstat (limited to 'trunk')
-rw-r--r--trunk/ipaddr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/ipaddr.py b/trunk/ipaddr.py
index 7e7cb0c..a5d2309 100644
--- a/trunk/ipaddr.py
+++ b/trunk/ipaddr.py
@@ -1314,7 +1314,7 @@ class IPv4Network(_BaseV4, _BaseNet):
if len(mask) == 4:
if [x for x in mask if int(x) not in self._valid_mask_octets]:
return False
- if [x for idx, y in enumerate(mask) if idx > 0 and
+ if [y for idx, y in enumerate(mask) if idx > 0 and
y > mask[idx - 1]]:
return False
return True