From 5d68724d5b89fbf2856fdfbf36b85ac36a8f4464 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 12 Jan 2007 20:59:31 +0000 Subject: next part of ipv6-ization. mostly netcat. --- networking/ftpgetput.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking/ftpgetput.c') diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c index 51e230296..0e2d4173f 100644 --- a/networking/ftpgetput.c +++ b/networking/ftpgetput.c @@ -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); } -- cgit v1.2.3