Make identd check work again. Someone made an oops here.

This commit is contained in:
William Pitcock 2008-04-03 10:53:16 -05:00
parent 93a426cb6e
commit c5eebb3efb

View file

@ -316,10 +316,10 @@ start_auth_query(struct AuthRequest *auth)
#ifdef IPV6
if(localaddr.ss_family == AF_INET6)
{
((struct sockaddr_in6 *)&localaddr)->sin6_port = 113;
((struct sockaddr_in6 *)&destaddr)->sin6_port = 113;
} else
#endif
((struct sockaddr_in *)&localaddr)->sin_port = 113;
((struct sockaddr_in *)&destaddr)->sin_port = 113;
auth->F = F;
SetAuthConnect(auth);