next part of ipv6-ization. mostly netcat.
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user