Stefan Krah <stefan-use...@bytereef.org> added the comment: I reread http://www.ietf.org/rfc/rfc4122.txt and I'm pretty sure that if getnode() is supposed to return a hardware address, one of the following should be used:
1) If ifconfig etc. returns successfully, we are fine. 2) If uuid_generate_time() or UuidCreateSequential() are used to extract the node ID, we have to make sure that the returned UUID is in fact RFC_4122 and version 1. 3) The fallback node ID should be 47 bits according to section 4.5. I've got a new patch (getnode.patch) that takes care of these issues. ---------- keywords: -patch resolution: accepted -> Added file: http://bugs.python.org/file16844/getnode.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3581> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com