pombreda / impacket

Automatically exported from code.google.com/p/impacket
Other
0 stars 0 forks source link

Ethernet MAC address lacks leading zeros #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Ethernet MAC addresses are normally show with a leading zero when necessary ie: 
0a:0b:0c:0d:0e:0f and not a:b:c:d:e:f.

Currently Impacket.py Ethernet.as_eth_addr returns the above.

Attached is a patch that fixes this as well as adding static calling and 
simplifies the logic

Original issue reported on code.google.com by thebiggu...@gmail.com on 27 Feb 2012 at 2:05

Attachments:

GoogleCodeExporter commented 9 years ago
Hey mate..

thanks, just applied your fix..

cheers!

Original comment by bet...@gmail.com on 27 Feb 2012 at 10:08