summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-01-29 14:31:47 -0500
committerScott Moser <smoser@ubuntu.com>2014-01-29 14:31:47 -0500
commit29b56e5ad6a5ec0eedbedcc598f633b1f5302a8a (patch)
treeabd870b2d6830fb6c81dc633e8098484b63b8b47 /cloudinit
parent1ed5098069f4fd5c798914b942cea7b87bd1afe3 (diff)
parent06c80d8b0dcb8cf1013885fc745bf48d57b39ce4 (diff)
downloadvyos-cloud-init-29b56e5ad6a5ec0eedbedcc598f633b1f5302a8a.tar.gz
vyos-cloud-init-29b56e5ad6a5ec0eedbedcc598f633b1f5302a8a.zip
merge from trunk
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index c0121848..08cdd8c8 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -369,7 +369,7 @@ def is_ipv4(instr):
return False
try:
- toks = [x for x in toks if int(x) < 256 and int(x) > 0]
+ toks = [x for x in toks if int(x) < 256 and int(x) >= 0]
except:
return False