pcap_example.c: fixed order to Ethernet addresses and added handling for other IP versions