next part of ipv6-ization. mostly netcat.

This commit is contained in:
Denis Vlasenko
2007-01-12 20:59:31 +00:00
parent 2c91652bbc
commit 5d68724d5b
6 changed files with 94 additions and 76 deletions

View File

@ -88,7 +88,7 @@ static int xconnect_ftpdata(ftp_host_info_t *server, char *buf)
*buf_ptr = '\0';
port_num += xatoul_range(buf_ptr + 1, 0, 255) * 256;
set_port(server->lsa, htons(port_num));
set_nport(server->lsa, htons(port_num));
return xconnect_stream(server->lsa);
}