Skip to content

Instantly share code, notes, and snippets.

@boxofrad
Created November 3, 2016 20:18
Show Gist options
  • Save boxofrad/c2af998fa885326d1b1c3c9982e1a881 to your computer and use it in GitHub Desktop.
Save boxofrad/c2af998fa885326d1b1c3c9982e1a881 to your computer and use it in GitHub Desktop.
def source_ip_address
bytes[14, 4].join('.')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment