diff options
author | James Crayne <jim.crayne@gmail.com> | 2013-07-05 03:17:48 -0400 |
---|---|---|
committer | James Crayne <jim.crayne@gmail.com> | 2013-07-05 03:17:48 -0400 |
commit | 498481cd24e877a82b685b7da8ee1632e7cb7243 (patch) | |
tree | 7a7bcb450a510b8363621e81ece96195ba4223c8 /whosocket.hs | |
parent | 7f1225c9521c2e4936c5ccf73f1cc34e8c459bb3 (diff) |
Fixed handling ipv4 encoded as ipv6
Diffstat (limited to 'whosocket.hs')
-rw-r--r-- | whosocket.hs | 3 |
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 | ||
161 | unmap6mapped4 addr@(SockAddrInet6 port _ (0,0,0xFFFF,a) _) = SockAddrInet port (toBE32 a) | ||
162 | unmap6mapped4 addr = addr | ||