зеркало из https://github.com/mozilla/pjs.git
Bugzilla Bug 279541: Fixed errors in code that was apparently copied
and pasted. ipv6_to_v4_tcpMethods should be ipv6_to_v4_udpMethods. The patch is contributed by Justin Wood <116057@bacon.qcc.mass.edu>. r=wtc,darin.
This commit is contained in:
Родитель
262aee277f
Коммит
7a09c1c023
|
@ -339,11 +339,11 @@ PRStatus _pr_init_ipv6()
|
|||
ipv6_to_v4_udpMethods.bind = Ipv6ToIpv4SocketBind;
|
||||
ipv6_to_v4_udpMethods.sendto = Ipv6ToIpv4SocketSendTo;
|
||||
ipv6_to_v4_udpMethods.recvfrom = Ipv6ToIpv4SocketRecvFrom;
|
||||
ipv6_to_v4_tcpMethods.getsockname = Ipv6ToIpv4SocketGetName;
|
||||
ipv6_to_v4_tcpMethods.getpeername = Ipv6ToIpv4SocketGetPeerName;
|
||||
ipv6_to_v4_udpMethods.getsockname = Ipv6ToIpv4SocketGetName;
|
||||
ipv6_to_v4_udpMethods.getpeername = Ipv6ToIpv4SocketGetPeerName;
|
||||
/*
|
||||
ipv6_to_v4_tcpMethods.getsocketoption = Ipv6ToIpv4GetSocketOption;
|
||||
ipv6_to_v4_tcpMethods.setsocketoption = Ipv6ToIpv4SetSocketOption;
|
||||
ipv6_to_v4_udpMethods.getsocketoption = Ipv6ToIpv4GetSocketOption;
|
||||
ipv6_to_v4_udpMethods.setsocketoption = Ipv6ToIpv4SetSocketOption;
|
||||
*/
|
||||
return PR_SUCCESS;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче