Messages in this thread Patch in this message | | | Subject | Re: Linux-2.0.32.. | Date | Tue, 18 Nov 1997 14:19:42 +0100 | From | Olaf Titz <> |
| |
Could you please include this one? It corrects broken getsockname() behaviour which renders libsocks5 unusable.
regards
Olaf
--- net/ipv4/af_inet.c~ Fri Aug 15 21:23:23 1997 +++ net/ipv4/af_inet.c Mon Nov 17 22:05:26 1997 @@ -836,11 +836,8 @@ sin->sin_addr.s_addr = sk->daddr; } else { __u32 addr = sk->rcv_saddr; - if (!addr) { + if (!addr) addr = sk->saddr; - if (!addr) - addr = ip_my_addr(); - } sin->sin_port = sk->dummy_th.source; sin->sin_addr.s_addr = addr; } ___ Olaf.Titz@inka.de or @{stud,informatik}.uni-karlsruhe.de ____ __ o <URL:http://www.inka.de/~bigred/> <IRC:praetorius> __/<_ >> Just as long as the wheels keep on turning round _)>(_)______________ I will live for the groove 'til the sun goes down << ____
| |