X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/7c5adb595e720d430734532b5f3c9a337198a047..a96c63082b779b00b0262915d55de39128019e81:/pymin/services/util.py diff --git a/pymin/services/util.py b/pymin/services/util.py index 739b109..867b3b9 100644 --- a/pymin/services/util.py +++ b/pymin/services/util.py @@ -216,9 +216,8 @@ def get_network_devices(): d[name].addrs[from_addr] = Address(from_addr,24, peer=to_addr) except IndexError: pass - return d - + def get_peers(): p = subprocess.Popen(('ip', '-o', 'addr'), stdout=subprocess.PIPE, close_fds=True)