summaryrefslogtreecommitdiff
path: root/libbb/xconnect.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-02-07 23:20:32 +0000
committerDenis Vlasenko2007-02-07 23:20:32 +0000
commit0850cdabded5ee04e243e45d419d7707da78bb51 (patch)
treef3edd429d95cfa19f9ae603053751247a750e534 /libbb/xconnect.c
parent8c6c6e955b4a73b8a2cac8c0d277bc109b329908 (diff)
downloadbusybox-0850cdabded5ee04e243e45d419d7707da78bb51.zip
busybox-0850cdabded5ee04e243e45d419d7707da78bb51.tar.gz
tftp: fix IPv6 fallout
Diffstat (limited to 'libbb/xconnect.c')
-rw-r--r--libbb/xconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xconnect.c b/libbb/xconnect.c
index 22f98dc..66b1366 100644
--- a/libbb/xconnect.c
+++ b/libbb/xconnect.c
@@ -82,7 +82,7 @@ int xconnect_tcp_v4(struct sockaddr_in *s_addr)
/* "New" networking API */
-int get_nport(len_and_sockaddr *lsa)
+int get_nport(const len_and_sockaddr *lsa)
{
#if ENABLE_FEATURE_IPV6
if (lsa->sa.sa_family == AF_INET6) {