fixes typo
diff --git a/cfg_checker/network_checks.py b/cfg_checker/network_checks.py
index f621de0..7c2e69d 100644
--- a/cfg_checker/network_checks.py
+++ b/cfg_checker/network_checks.py
@@ -48,7 +48,7 @@
logger_cli.info("### Building network tree")
# match physical interfaces by MAC addresses
_all_nets = {}
- for host, node_data in _nodes.iteritems():
+ for host, node_data in self.nodes.iteritems():
for net_name, net_data in node_data['networks'].iteritems():
# get ips and calculate subnets
if net_name == 'lo':