Bernhard Fischer pointed out some leftover debris needing cleanup.
This commit is contained in:
parent
a299efb7b0
commit
4640b05afd
@ -12,18 +12,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "busybox.h"
|
#include "busybox.h"
|
||||||
//#include <stdlib.h>
|
|
||||||
//#include <stdio.h>
|
|
||||||
//#include <string.h>
|
|
||||||
//#include <stddef.h>
|
|
||||||
//#include <errno.h>
|
|
||||||
//#include <unistd.h>
|
|
||||||
//#include <dirent.h>
|
|
||||||
//#include <ctype.h>
|
|
||||||
//#include <assert.h>
|
|
||||||
//#include <getopt.h>
|
|
||||||
//#include <sys/utsname.h>
|
|
||||||
//#include <sys/file.h>
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef CONFIG_FEATURE_CHECK_TAINTED_MODULE
|
#ifndef CONFIG_FEATURE_CHECK_TAINTED_MODULE
|
||||||
|
@ -203,7 +203,7 @@ static int listen_socket(char *iface_addr, int listen_port)
|
|||||||
if (!inet_aton(iface_addr, &a.sin_addr))
|
if (!inet_aton(iface_addr, &a.sin_addr))
|
||||||
bb_perror_msg_and_die("bad iface address");
|
bb_perror_msg_and_die("bad iface address");
|
||||||
xbind(s, (struct sockaddr *)&a, sizeof(a));
|
xbind(s, (struct sockaddr *)&a, sizeof(a));
|
||||||
xlisten(s, 50); /* xlisten? */
|
xlisten(s, 50);
|
||||||
sprintf(msg, "accepting UDP packets on addr:port %s:%d\n",
|
sprintf(msg, "accepting UDP packets on addr:port %s:%d\n",
|
||||||
iface_addr, (int)listen_port);
|
iface_addr, (int)listen_port);
|
||||||
log_message(LOG_FILE, msg);
|
log_message(LOG_FILE, msg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user