Skip to content

Commit eaad54f

Browse files
committed
Add FIXME comment.
1 parent 6ebf76a commit eaad54f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sshuttle/methods/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ def original_dst(sock):
1313
sockaddr_in = sock.getsockopt(socket.SOL_IP,
1414
SO_ORIGINAL_DST, SOCKADDR_MIN)
1515
(proto, port, a, b, c, d) = struct.unpack('!HHBBBB', sockaddr_in[:8])
16+
# FIXME: decoding is IPv4 only.
1617
assert(socket.htons(proto) == socket.AF_INET)
1718
ip = '%d.%d.%d.%d' % (a, b, c, d)
1819
return (ip, port)

0 commit comments

Comments
 (0)