Indra Talip <[email protected]> added the comment:
The current code and proposed changes use 'netstat -ia' to find the node
however if netstat needs to perform a reverse DNS query to resolve some
interfaces this makes using uuid1 *really* slow especially when reverse DNS
queries aren't set up correctly or timeout.
mac = _find_mac_netstat('netstat', '-ia', b'Address', lambda i: i)
Would it be possible to change the netstat call to add 'n' to the nestat
options, i.e. _find_mac_netstat('netstat', '-ian', ...) to prevent netstat from
attempting to resolve addresses?
----------
nosy: +italip
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue28009>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com