Added code to sniff ethernet device correctly.