summaryrefslogtreecommitdiff
path: root/whosocket.hs
diff options
context:
space:
mode:
authorJames Crayne <jim.crayne@gmail.com>2013-07-05 03:17:48 -0400
committerJames Crayne <jim.crayne@gmail.com>2013-07-05 03:17:48 -0400
commit498481cd24e877a82b685b7da8ee1632e7cb7243 (patch)
tree7a7bcb450a510b8363621e81ece96195ba4223c8 /whosocket.hs
parent7f1225c9521c2e4936c5ccf73f1cc34e8c459bb3 (diff)
Fixed handling ipv4 encoded as ipv6
Diffstat (limited to 'whosocket.hs')
-rw-r--r--whosocket.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/whosocket.hs b/whosocket.hs
index 7fd44b4d..14d2a708 100644
--- a/whosocket.hs
+++ b/whosocket.hs
@@ -157,6 +157,3 @@ identifyTTY tty_pids uid inode = do
157 return tty' 157 return tty'
158 158
159 159
160-- PEER NAME: [::ffff:127.0.0.1]:34307
161unmap6mapped4 addr@(SockAddrInet6 port _ (0,0,0xFFFF,a) _) = SockAddrInet port (toBE32 a)
162unmap6mapped4 addr = addr