inetd: make it NOMMU-capable and IPv6-friendly. Lots of renames
of variable/function names Total: -2474 bytes text data bss dec hex filename 802215 661 7452 810328 c5d58 busybox_old 800120 661 7428 808209 c5511 busybox_unstripped
This commit is contained in:
1794
networking/inetd.c
1794
networking/inetd.c
File diff suppressed because it is too large
Load Diff
@@ -756,7 +756,7 @@ int nc_main(int argc, char **argv)
|
||||
/* We try IPv6, then IPv4, unless addr family is
|
||||
* implicitly set by way of remote addr/port spec */
|
||||
x = xsocket_type(&ouraddr,
|
||||
USE_FEATURE_IPV6((themaddr ? themaddr->u.sa.sa_family : AF_UNSPEC),)
|
||||
(themaddr ? themaddr->u.sa.sa_family : AF_UNSPEC),
|
||||
x);
|
||||
if (o_lport)
|
||||
set_nport(ouraddr, htons(o_lport));
|
||||
|
@@ -127,7 +127,7 @@ static int tftp( USE_GETPUT(const int cmd,)
|
||||
char *cp;
|
||||
|
||||
unsigned org_port;
|
||||
len_and_sockaddr *const from = alloca(offsetof(len_and_sockaddr, u.sa) + peer_lsa->len);
|
||||
len_and_sockaddr *const from = alloca(LSA_LEN_SIZE + peer_lsa->len);
|
||||
|
||||
/* Can't use RESERVE_CONFIG_BUFFER here since the allocation
|
||||
* size varies meaning BUFFERS_GO_ON_STACK would fail */
|
||||
|
Reference in New Issue
Block a user