aboutsip / pkts

Pure java based pcap library capable of reading and writing to/from pcaps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MACAddress mix up in MacPacket

thaeger71 opened this issue · comments

Hi there,

found another issue, the MAC address is mixed up. The source is destination and vice versa.
It's just a mix up in the order, the second mac is source and the first is destination. The change has to be done in MACPacket in functions getSourceMacAddress, getDestinationMacAddress and setMacAddress.

Source is 6 bytes from 6th
Destination is 6 bytes from 1st

Thanks! Fixed in: #46