diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-17 09:10:39 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-17 09:10:39 +0000 |
commit | aa9b1828b91bc4b60f1164b7929a6a0ac091419e (patch) | |
tree | 31a2278e3998160a7c40ac5882736a2f48768a2d /ipsvd | |
parent | 1d42665b6b0571b9fa5d3b10fbf2dd03382f0ba2 (diff) | |
download | busybox-w32-aa9b1828b91bc4b60f1164b7929a6a0ac091419e.tar.gz busybox-w32-aa9b1828b91bc4b60f1164b7929a6a0ac091419e.tar.bz2 busybox-w32-aa9b1828b91bc4b60f1164b7929a6a0ac091419e.zip |
tftpd: new applet (mostly using existing code for tftp)
function old new delta
tftp_protocol - 1173 +1173
tftpd_main - 500 +500
tftp_option_get - 102 +102
packed_usage 23650 23662 +12
applet_names 1809 1815 +6
applet_main 1100 1104 +4
applet_nameofs 550 552 +2
tftp_main 302 301 -1
get_nport 32 - -32
tftp 1172 - -1172
------------------------------------------------------------------------------
(add/remove: 3/2 grow/shrink: 4/1 up/down: 1799/-1205) Total: 594 bytes
text data bss dec hex filename
796479 662 7420 804561 c46d1 busybox_old
797153 662 7420 805235 c4973 busybox_unstripped
Diffstat (limited to 'ipsvd')
-rw-r--r-- | ipsvd/Config.in | 2 | ||||
-rw-r--r-- | ipsvd/tcpudp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ipsvd/Config.in b/ipsvd/Config.in index 8522ef9eb..0cb8c62de 100644 --- a/ipsvd/Config.in +++ b/ipsvd/Config.in | |||
@@ -3,7 +3,7 @@ | |||
3 | # see scripts/kbuild/config-language.txt. | 3 | # see scripts/kbuild/config-language.txt. |
4 | # | 4 | # |
5 | 5 | ||
6 | menu "ipsvd utilities" | 6 | menu "ipsvd Utilities" |
7 | 7 | ||
8 | config TCPSVD | 8 | config TCPSVD |
9 | bool "tcpsvd" | 9 | bool "tcpsvd" |
diff --git a/ipsvd/tcpudp.c b/ipsvd/tcpudp.c index 8f6616fe0..729b7bca9 100644 --- a/ipsvd/tcpudp.c +++ b/ipsvd/tcpudp.c | |||
@@ -322,7 +322,7 @@ int tcpudpsvd_main(int argc ATTRIBUTE_UNUSED, char **argv) | |||
322 | /* In case recv_from_to won't be able to recover local addr. | 322 | /* In case recv_from_to won't be able to recover local addr. |
323 | * Also sets port - recv_from_to is unable to do it. */ | 323 | * Also sets port - recv_from_to is unable to do it. */ |
324 | local = *lsa; | 324 | local = *lsa; |
325 | conn = recv_from_to(sock, NULL, 0, MSG_DONTWAIT | MSG_PEEK, | 325 | conn = recv_from_to(sock, NULL, 0, MSG_PEEK, |
326 | &remote.u.sa, &local.u.sa, sa_len); | 326 | &remote.u.sa, &local.u.sa, sa_len); |
327 | } | 327 | } |
328 | sig_block(SIGCHLD); | 328 | sig_block(SIGCHLD); |