Created
November 3, 2016 16:48
-
-
Save boxofrad/eb3b11e59dae6f779d05fdb42e0020e8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def data | |
# Drop the first 14 bytes (MAC Header) and last 4 bytes (CRC Checksum) | |
IPPacket.new(bytes[14...-4]) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment