aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorFrancisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org>2014-12-23 10:51:33 -0500
committerNick Mathewson <nickm@torproject.org>2014-12-23 10:51:33 -0500
commit39e71d8fa54afd906fdcaf2cd496c300362ebb9a (patch)
tree1b4ed9fff0c400eebd5d01f2d42cd022e34e3bea /src/common
parent808e2b856bd77fa9b431272a6f37596655fd5945 (diff)
downloadtor-39e71d8fa54afd906fdcaf2cd496c300362ebb9a.tar.gz
tor-39e71d8fa54afd906fdcaf2cd496c300362ebb9a.zip
Use the appropriate call to getsockopt for IPv6 sockets
The original call to getsockopt to know the original address on transparently proxyed sockets using REDIRECT in iptables failed with IPv6 addresses because it assumed all sockets used IPv4. This patch fixes this by using the appropriate options and adding the headers containing the needed definitions for these. This patch is released under the same license as the original file as long as the author iscredited. Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org>
Diffstat (limited to 'src/common')
0 files changed, 0 insertions, 0 deletions