Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
moved shost and dhost
  • Loading branch information
joeferner committed Jan 3, 2012
1 parent d814b00 commit bab377c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pcap.js
Expand Up @@ -304,6 +304,10 @@ decode.ieee802_11_radio = function (raw_packet, offset) {
if(ret.ieee802_11Frame && ret.ieee802_11Frame.llc && ret.ieee802_11Frame.llc.ip) {
ret.ip = ret.ieee802_11Frame.llc.ip;
delete ret.ieee802_11Frame.llc.ip;
ret.shost = ret.ieee802_11Frame.shost;
delete ret.ieee802_11Frame.shost;
ret.dhost = ret.ieee802_11Frame.dhost;
delete ret.ieee802_11Frame.dhost
}

return ret;
Expand Down

0 comments on commit bab377c

Please sign in to comment.