From c3d50cafacc0a699a5eba6372b2fdc77c24defa1 Mon Sep 17 00:00:00 2001 From: Dustyn Blackmore Date: Fri, 18 May 2018 11:39:26 +1000 Subject: [PATCH] Updated encoding.js Now provides a translated buffer of payload. --- src/nfpacket/encoding.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nfpacket/encoding.js b/src/nfpacket/encoding.js index e6eb6e7..8faf65f 100644 --- a/src/nfpacket/encoding.js +++ b/src/nfpacket/encoding.js @@ -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(); } })