diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2019-06-09 11:12:02 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-06-09 11:12:02 +0200 |
commit | 3b8025f1327c86b7252855b60b303e44aca9adbc (patch) | |
tree | f5dc968f9cd59f95650f7b2e246c142fae12076b /libbb | |
parent | 48eebc8d5c43c204941abb467d412bd58d845e72 (diff) | |
download | busybox-w32-3b8025f1327c86b7252855b60b303e44aca9adbc.tar.gz busybox-w32-3b8025f1327c86b7252855b60b303e44aca9adbc.tar.bz2 busybox-w32-3b8025f1327c86b7252855b60b303e44aca9adbc.zip |
tftp: optional tftp-hpa compat
function old new delta
tftp_main 276 394 +118
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/xconnect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/xconnect.c b/libbb/xconnect.c index ea5fe173f..eb2871cb1 100644 --- a/libbb/xconnect.c +++ b/libbb/xconnect.c | |||
@@ -133,6 +133,7 @@ unsigned FAST_FUNC bb_lookup_port(const char *port, const char *protocol, unsign | |||
133 | port_nr = default_port; | 133 | port_nr = default_port; |
134 | if (tserv) | 134 | if (tserv) |
135 | port_nr = ntohs(tserv->s_port); | 135 | port_nr = ntohs(tserv->s_port); |
136 | //FIXME: else: port string was garbage, but we don't report that??? | ||
136 | } | 137 | } |
137 | errno = old_errno; | 138 | errno = old_errno; |
138 | } | 139 | } |