Author serhiy.storchaka
Recipients BreamoreBoy, David.Edelsohn, aivarsk, neologix, serhiy.storchaka
Date 2014-10-01.19:33:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412192040.16.0.510597511092.issue17293@psf.upfronthosting.co.za>
In-reply-to
Content
Thank you Aivars for your patch. I have verified and confirm that this method works on AIX and True64 UNIX (it should also work on IRIX, but I can't login in Snakebite's i6).

Here is modified patch. MAC address is now searched only in column with the "Address" header. Added try/except around converting to int for the case if candidate word contains non-heximal digits. Synchronized _netstat_getnode() with current code of _find_mac and extracted common code in separate function. Split _ifconfig_getnode() into separate functions which use different commands: ifconfig, arp and lanscan.
History
Date User Action Args
2014-10-01 19:34:00serhiy.storchakasetrecipients: + serhiy.storchaka, neologix, BreamoreBoy, aivarsk, David.Edelsohn
2014-10-01 19:34:00serhiy.storchakasetmessageid: <1412192040.16.0.510597511092.issue17293@psf.upfronthosting.co.za>
2014-10-01 19:34:00serhiy.storchakalinkissue17293 messages
2014-10-01 19:33:59serhiy.storchakacreate