Skip to content

Commit

Permalink
Updated encoding.js
Browse files Browse the repository at this point in the history
Now provides a translated buffer of payload.
  • Loading branch information
Dustyn Blackmore committed May 18, 2018
1 parent ea9d750 commit c3d50ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nfpacket/encoding.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const encoding = (dependencies) => (state) => ({
? new IPv4().decode(state.nfpacket.payload, 0)
: false
state.nfpacketDecoded = nfpacketDecoded;
state.nfpacketDecoded.payloadDecoded = state.nfpacketDecoded.payload.toString();
}
})

Expand Down

0 comments on commit c3d50ca

Please sign in to comment.