summaryrefslogtreecommitdiff
path: root/cloudinit/netinfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/netinfo.py')
-rw-r--r--cloudinit/netinfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/netinfo.py b/cloudinit/netinfo.py
index 1b6af7e2..3ba922e8 100644
--- a/cloudinit/netinfo.py
+++ b/cloudinit/netinfo.py
@@ -63,7 +63,7 @@ def debug_info(pre="ci-info: "):
netdev = netdev_info()
except Exception as e:
lines.append("netdev_info failed!")
- netdev = []
+ netdev = {}
for (dev, d) in netdev.iteritems():
lines.append("%s%-6s: %i %-15s %-15s %s" %
(pre, dev, d["up"], d["addr"],d["mask"], d["hwaddr"]))