rtslib/utils.py def list_eth_ips(ifnames=None): if ifnames is None: ifnames = [iface for iface in list_eth_names() if iface != 'lo'] addrs = [] for iface in list_eth_names(): this last line should be "for iface in ifnames:" Also, how about using python-ethool instead of python-netifaces to get ips for an iface? It's a little more widely used. Thanks -- Regards -- Andy -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html