summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2017-09-27 10:08:12 +0100
committerRon Yorston <rmy@pobox.com>2017-09-27 10:11:19 +0100
commitd9383e984da8de72e61e5094a3cf6404c5707ddc (patch)
treedd42825854fc42aea40d4f7a95548d53721d1733 /networking
parent166b3e4e82799f87d3b002c7177891111eff079e (diff)
parent0c4dbd481aedb5d22c1048e7f7eb547a3b5e50a5 (diff)
downloadbusybox-w32-d9383e984da8de72e61e5094a3cf6404c5707ddc.tar.gz
busybox-w32-d9383e984da8de72e61e5094a3cf6404c5707ddc.tar.bz2
busybox-w32-d9383e984da8de72e61e5094a3cf6404c5707ddc.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'networking')
-rw-r--r--networking/hostname.c1
-rw-r--r--networking/httpd.c9
-rw-r--r--networking/ifupdown.c1
-rw-r--r--networking/interface.c7
-rw-r--r--networking/ip.c14
-rw-r--r--networking/nameif.c1
-rw-r--r--networking/nbd-client.c16
-rw-r--r--networking/nc.c17
-rw-r--r--networking/ntpd.c2
-rw-r--r--networking/ping.c43
-rw-r--r--networking/udhcp/d6_dhcpc.c1
-rw-r--r--networking/udhcp/dhcpc.c39
-rw-r--r--networking/vconfig.c5
-rw-r--r--networking/wget.c1
-rw-r--r--networking/whois.c1
15 files changed, 60 insertions, 98 deletions
diff --git a/networking/hostname.c b/networking/hostname.c
index d87f6562f..8e3238d99 100644
--- a/networking/hostname.c
+++ b/networking/hostname.c
@@ -9,7 +9,6 @@
9 * 9 *
10 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 10 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
11 */ 11 */
12
13//config:config HOSTNAME 12//config:config HOSTNAME
14//config: bool "hostname (5.6 kb)" 13//config: bool "hostname (5.6 kb)"
15//config: default y 14//config: default y
diff --git a/networking/httpd.c b/networking/httpd.c
index 9369de824..74196a4f1 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -1371,12 +1371,13 @@ static NOINLINE void cgi_io_loop_and_exit(int fromCgi_rd, int toCgi_wr, int post
1371 out_cnt += count; 1371 out_cnt += count;
1372 count = 0; 1372 count = 0;
1373 /* "Status" header format is: "Status: 302 Redirected\r\n" */ 1373 /* "Status" header format is: "Status: 302 Redirected\r\n" */
1374 if (out_cnt >= 7 && memcmp(rbuf, "Status:", 7) == 0) { 1374 if (out_cnt >= 8 && memcmp(rbuf, "Status: ", 8) == 0) {
1375 /* send "HTTP/1.0 " */ 1375 /* send "HTTP/1.0 " */
1376 if (full_write(STDOUT_FILENO, HTTP_200, 9) != 9) 1376 if (full_write(STDOUT_FILENO, HTTP_200, 9) != 9)
1377 break; 1377 break;
1378 rbuf += 7; /* skip "Status:" */ 1378 /* skip "Status: " (including space, sending "HTTP/1.0 NNN" is wrong) */
1379 count = out_cnt - 7; 1379 rbuf += 8;
1380 count = out_cnt - 8;
1380 out_cnt = -1; /* buffering off */ 1381 out_cnt = -1; /* buffering off */
1381 } else if (out_cnt >= 4) { 1382 } else if (out_cnt >= 4) {
1382 /* Did CGI add "HTTP"? */ 1383 /* Did CGI add "HTTP"? */
@@ -2337,7 +2338,7 @@ static void handle_incoming_and_exit(const len_and_sockaddr *fromAddr)
2337 if (STRNCASECMP(iobuf, "Range:") == 0) { 2338 if (STRNCASECMP(iobuf, "Range:") == 0) {
2338 /* We know only bytes=NNN-[MMM] */ 2339 /* We know only bytes=NNN-[MMM] */
2339 char *s = skip_whitespace(iobuf + sizeof("Range:")-1); 2340 char *s = skip_whitespace(iobuf + sizeof("Range:")-1);
2340 if (is_prefixed_with(s, "bytes=") == 0) { 2341 if (is_prefixed_with(s, "bytes=")) {
2341 s += sizeof("bytes=")-1; 2342 s += sizeof("bytes=")-1;
2342 range_start = BB_STRTOOFF(s, &s, 10); 2343 range_start = BB_STRTOOFF(s, &s, 10);
2343 if (s[0] != '-' || range_start < 0) { 2344 if (s[0] != '-' || range_start < 0) {
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index c2cfe82ec..5521e8a5a 100644
--- a/networking/ifupdown.c
+++ b/networking/ifupdown.c
@@ -16,7 +16,6 @@
16 * 16 *
17 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 17 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
18 */ 18 */
19
20//config:config IFUP 19//config:config IFUP
21//config: bool "ifup (17 kb)" 20//config: bool "ifup (17 kb)"
22//config: default y 21//config: default y
diff --git a/networking/interface.c b/networking/interface.c
index c5c8f2cdd..119185881 100644
--- a/networking/interface.c
+++ b/networking/interface.c
@@ -223,7 +223,7 @@ static char* FAST_FUNC UNSPEC_print(unsigned char *ptr)
223 pos = buff; 223 pos = buff;
224 for (i = 0; i < sizeof(struct sockaddr); i++) { 224 for (i = 0; i < sizeof(struct sockaddr); i++) {
225 /* careful -- not every libc's sprintf returns # bytes written */ 225 /* careful -- not every libc's sprintf returns # bytes written */
226 sprintf(pos, "%02X-", (*ptr++ & 0377)); 226 sprintf(pos, "%02X-", *ptr++);
227 pos += 3; 227 pos += 3;
228 } 228 }
229 /* Erase trailing "-". Works as long as sizeof(struct sockaddr) != 0 */ 229 /* Erase trailing "-". Works as long as sizeof(struct sockaddr) != 0 */
@@ -704,9 +704,8 @@ static char* FAST_FUNC ether_print(unsigned char *ptr)
704{ 704{
705 char *buff; 705 char *buff;
706 buff = xasprintf("%02X:%02X:%02X:%02X:%02X:%02X", 706 buff = xasprintf("%02X:%02X:%02X:%02X:%02X:%02X",
707 (ptr[0] & 0377), (ptr[1] & 0377), (ptr[2] & 0377), 707 ptr[0], ptr[1], ptr[2], ptr[3], ptr[4], ptr[5]
708 (ptr[3] & 0377), (ptr[4] & 0377), (ptr[5] & 0377) 708 );
709 );
710 return auto_string(buff); 709 return auto_string(buff);
711} 710}
712 711
diff --git a/networking/ip.c b/networking/ip.c
index 8aaeef0db..0bc0edc57 100644
--- a/networking/ip.c
+++ b/networking/ip.c
@@ -126,13 +126,13 @@
126//config: Ethernet, wireless, infrared, ppp/slip, ip tunnelling 126//config: Ethernet, wireless, infrared, ppp/slip, ip tunnelling
127//config: link types are supported without this option selected. 127//config: link types are supported without this option selected.
128 128
129//applet:IF_IP(APPLET(ip, BB_DIR_SBIN, BB_SUID_DROP)) 129//applet:IF_IP( APPLET_NOEXEC(ip , ip , BB_DIR_SBIN, BB_SUID_DROP, ip ))
130//applet:IF_IPADDR(APPLET(ipaddr, BB_DIR_SBIN, BB_SUID_DROP)) 130//applet:IF_IPADDR( APPLET_NOEXEC(ipaddr , ipaddr , BB_DIR_SBIN, BB_SUID_DROP, ipaddr ))
131//applet:IF_IPLINK(APPLET(iplink, BB_DIR_SBIN, BB_SUID_DROP)) 131//applet:IF_IPLINK( APPLET_NOEXEC(iplink , iplink , BB_DIR_SBIN, BB_SUID_DROP, iplink ))
132//applet:IF_IPROUTE(APPLET(iproute, BB_DIR_SBIN, BB_SUID_DROP)) 132//applet:IF_IPROUTE( APPLET_NOEXEC(iproute , iproute , BB_DIR_SBIN, BB_SUID_DROP, iproute ))
133//applet:IF_IPRULE(APPLET(iprule, BB_DIR_SBIN, BB_SUID_DROP)) 133//applet:IF_IPRULE( APPLET_NOEXEC(iprule , iprule , BB_DIR_SBIN, BB_SUID_DROP, iprule ))
134//applet:IF_IPTUNNEL(APPLET(iptunnel, BB_DIR_SBIN, BB_SUID_DROP)) 134//applet:IF_IPTUNNEL(APPLET_NOEXEC(iptunnel, iptunnel, BB_DIR_SBIN, BB_SUID_DROP, iptunnel))
135//applet:IF_IPNEIGH(APPLET(ipneigh, BB_DIR_SBIN, BB_SUID_DROP)) 135//applet:IF_IPNEIGH( APPLET_NOEXEC(ipneigh , ipneigh , BB_DIR_SBIN, BB_SUID_DROP, ipneigh ))
136 136
137//kbuild:lib-$(CONFIG_IP) += ip.o 137//kbuild:lib-$(CONFIG_IP) += ip.o
138//kbuild:lib-$(CONFIG_IPADDR) += ip.o 138//kbuild:lib-$(CONFIG_IPADDR) += ip.o
diff --git a/networking/nameif.c b/networking/nameif.c
index 1f2695495..91d50536a 100644
--- a/networking/nameif.c
+++ b/networking/nameif.c
@@ -9,7 +9,6 @@
9 * 9 *
10 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 10 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
11 */ 11 */
12
13//config:config NAMEIF 12//config:config NAMEIF
14//config: bool "nameif (6.6 kb)" 13//config: bool "nameif (6.6 kb)"
15//config: default y 14//config: default y
diff --git a/networking/nbd-client.c b/networking/nbd-client.c
index cf1857231..bedb01a1c 100644
--- a/networking/nbd-client.c
+++ b/networking/nbd-client.c
@@ -3,20 +3,20 @@
3 * 3 *
4 * Licensed under GPLv2, see file LICENSE in this source tree. 4 * Licensed under GPLv2, see file LICENSE in this source tree.
5 */ 5 */
6#include "libbb.h"
7#include <netinet/tcp.h>
8#include <linux/fs.h>
9
10//applet:IF_NBDCLIENT(APPLET_NOEXEC(nbd-client, nbdclient, BB_DIR_USR_SBIN, BB_SUID_DROP, nbdclient))
11
12//kbuild:lib-$(CONFIG_NBDCLIENT) += nbd-client.o
13
14//config:config NBDCLIENT 6//config:config NBDCLIENT
15//config: bool "nbd-client (4.6 kb)" 7//config: bool "nbd-client (4.6 kb)"
16//config: default y 8//config: default y
17//config: help 9//config: help
18//config: Network block device client 10//config: Network block device client
19 11
12//applet:IF_NBDCLIENT(APPLET_NOEXEC(nbd-client, nbdclient, BB_DIR_USR_SBIN, BB_SUID_DROP, nbdclient))
13
14//kbuild:lib-$(CONFIG_NBDCLIENT) += nbd-client.o
15
16#include "libbb.h"
17#include <netinet/tcp.h>
18#include <linux/fs.h>
19
20#define NBD_SET_SOCK _IO(0xab, 0) 20#define NBD_SET_SOCK _IO(0xab, 0)
21#define NBD_SET_BLKSIZE _IO(0xab, 1) 21#define NBD_SET_BLKSIZE _IO(0xab, 1)
22#define NBD_SET_SIZE _IO(0xab, 2) 22#define NBD_SET_SIZE _IO(0xab, 2)
diff --git a/networking/nc.c b/networking/nc.c
index 3437c565e..4b8f9c13a 100644
--- a/networking/nc.c
+++ b/networking/nc.c
@@ -13,17 +13,23 @@
13//config: A simple Unix utility which reads and writes data across network 13//config: A simple Unix utility which reads and writes data across network
14//config: connections. 14//config: connections.
15//config: 15//config:
16//config:config NETCAT
17//config: bool "netcat (11 kb)"
18//config: default n
19//config: help
20//config: Alias to nc.
21//config:
16//config:config NC_SERVER 22//config:config NC_SERVER
17//config: bool "Netcat server options (-l)" 23//config: bool "Netcat server options (-l)"
18//config: default y 24//config: default y
19//config: depends on NC 25//config: depends on NC || NETCAT
20//config: help 26//config: help
21//config: Allow netcat to act as a server. 27//config: Allow netcat to act as a server.
22//config: 28//config:
23//config:config NC_EXTRA 29//config:config NC_EXTRA
24//config: bool "Netcat extensions (-eiw and -f FILE)" 30//config: bool "Netcat extensions (-eiw and -f FILE)"
25//config: default y 31//config: default y
26//config: depends on NC 32//config: depends on NC || NETCAT
27//config: help 33//config: help
28//config: Add -e (support for executing the rest of the command line after 34//config: Add -e (support for executing the rest of the command line after
29//config: making or receiving a successful connection), -i (delay interval for 35//config: making or receiving a successful connection), -i (delay interval for
@@ -31,8 +37,8 @@
31//config: 37//config:
32//config:config NC_110_COMPAT 38//config:config NC_110_COMPAT
33//config: bool "Netcat 1.10 compatibility (+2.5k)" 39//config: bool "Netcat 1.10 compatibility (+2.5k)"
34//config: default n # off specially for Rob 40//config: default y
35//config: depends on NC 41//config: depends on NC || NETCAT
36//config: help 42//config: help
37//config: This option makes nc closely follow original nc-1.10. 43//config: This option makes nc closely follow original nc-1.10.
38//config: The code is about 2.5k bigger. It enables 44//config: The code is about 2.5k bigger. It enables
@@ -40,8 +46,11 @@
40//config: busybox-specific extensions: -f FILE. 46//config: busybox-specific extensions: -f FILE.
41 47
42//applet:IF_NC(APPLET(nc, BB_DIR_USR_BIN, BB_SUID_DROP)) 48//applet:IF_NC(APPLET(nc, BB_DIR_USR_BIN, BB_SUID_DROP))
49// APPLET_ODDNAME:name main location suid_type help
50//applet:IF_NETCAT(APPLET_ODDNAME(netcat, nc, BB_DIR_USR_BIN, BB_SUID_DROP, nc))
43 51
44//kbuild:lib-$(CONFIG_NC) += nc.o 52//kbuild:lib-$(CONFIG_NC) += nc.o
53//kbuild:lib-$(CONFIG_NETCAT) += nc.o
45 54
46#include "libbb.h" 55#include "libbb.h"
47#include "common_bufsiz.h" 56#include "common_bufsiz.h"
diff --git a/networking/ntpd.c b/networking/ntpd.c
index 25fa44389..4f881eaf9 100644
--- a/networking/ntpd.c
+++ b/networking/ntpd.c
@@ -2235,7 +2235,7 @@ static NOINLINE void ntp_init(char **argv)
2235 "wp:*S:"IF_FEATURE_NTPD_SERVER("l") /* NOT compat */ 2235 "wp:*S:"IF_FEATURE_NTPD_SERVER("l") /* NOT compat */
2236 IF_FEATURE_NTPD_SERVER("I:") /* compat */ 2236 IF_FEATURE_NTPD_SERVER("I:") /* compat */
2237 "d" /* compat */ 2237 "d" /* compat */
2238 "46aAbgL", /* compat, ignored */ 2238 "46aAbgL" /* compat, ignored */
2239 "\0" 2239 "\0"
2240 "dd:wn" /* -d: counter; -p: list; -w implies -n */ 2240 "dd:wn" /* -d: counter; -p: list; -w implies -n */
2241 IF_FEATURE_NTPD_SERVER(":Il") /* -I implies -l */ 2241 IF_FEATURE_NTPD_SERVER(":Il") /* -I implies -l */
diff --git a/networking/ping.c b/networking/ping.c
index 7460e4414..774f8f3e0 100644
--- a/networking/ping.c
+++ b/networking/ping.c
@@ -24,28 +24,6 @@
24 * This version is an adaptation of ping.c from busybox. 24 * This version is an adaptation of ping.c from busybox.
25 * The code was modified by Bart Visscher <magick@linux-fan.com> 25 * The code was modified by Bart Visscher <magick@linux-fan.com>
26 */ 26 */
27
28#include <net/if.h>
29#include <netinet/ip_icmp.h>
30#include "libbb.h"
31#include "common_bufsiz.h"
32
33#ifdef __BIONIC__
34/* should be in netinet/ip_icmp.h */
35# define ICMP_DEST_UNREACH 3 /* Destination Unreachable */
36# define ICMP_SOURCE_QUENCH 4 /* Source Quench */
37# define ICMP_REDIRECT 5 /* Redirect (change route) */
38# define ICMP_ECHO 8 /* Echo Request */
39# define ICMP_TIME_EXCEEDED 11 /* Time Exceeded */
40# define ICMP_PARAMETERPROB 12 /* Parameter Problem */
41# define ICMP_TIMESTAMP 13 /* Timestamp Request */
42# define ICMP_TIMESTAMPREPLY 14 /* Timestamp Reply */
43# define ICMP_INFO_REQUEST 15 /* Information Request */
44# define ICMP_INFO_REPLY 16 /* Information Reply */
45# define ICMP_ADDRESS 17 /* Address Mask Request */
46# define ICMP_ADDRESSREPLY 18 /* Address Mask Reply */
47#endif
48
49//config:config PING 27//config:config PING
50//config: bool "ping (9.5 kb)" 28//config: bool "ping (9.5 kb)"
51//config: default y 29//config: default y
@@ -136,6 +114,27 @@
136//usage: "1 packets transmitted, 1 packets received, 0% packet loss\n" 114//usage: "1 packets transmitted, 1 packets received, 0% packet loss\n"
137//usage: "round-trip min/avg/max = 20.1/20.1/20.1 ms\n" 115//usage: "round-trip min/avg/max = 20.1/20.1/20.1 ms\n"
138 116
117#include <net/if.h>
118#include <netinet/ip_icmp.h>
119#include "libbb.h"
120#include "common_bufsiz.h"
121
122#ifdef __BIONIC__
123/* should be in netinet/ip_icmp.h */
124# define ICMP_DEST_UNREACH 3 /* Destination Unreachable */
125# define ICMP_SOURCE_QUENCH 4 /* Source Quench */
126# define ICMP_REDIRECT 5 /* Redirect (change route) */
127# define ICMP_ECHO 8 /* Echo Request */
128# define ICMP_TIME_EXCEEDED 11 /* Time Exceeded */
129# define ICMP_PARAMETERPROB 12 /* Parameter Problem */
130# define ICMP_TIMESTAMP 13 /* Timestamp Request */
131# define ICMP_TIMESTAMPREPLY 14 /* Timestamp Reply */
132# define ICMP_INFO_REQUEST 15 /* Information Request */
133# define ICMP_INFO_REPLY 16 /* Information Reply */
134# define ICMP_ADDRESS 17 /* Address Mask Request */
135# define ICMP_ADDRESSREPLY 18 /* Address Mask Reply */
136#endif
137
139#if ENABLE_PING6 138#if ENABLE_PING6
140# include <netinet/icmp6.h> 139# include <netinet/icmp6.h>
141/* I see RENUMBERED constants in bits/in.h - !!? 140/* I see RENUMBERED constants in bits/in.h - !!?
diff --git a/networking/udhcp/d6_dhcpc.c b/networking/udhcp/d6_dhcpc.c
index 849ca1388..714555fa8 100644
--- a/networking/udhcp/d6_dhcpc.c
+++ b/networking/udhcp/d6_dhcpc.c
@@ -8,7 +8,6 @@
8 * 8 *
9 * Licensed under GPLv2, see file LICENSE in this source tree. 9 * Licensed under GPLv2, see file LICENSE in this source tree.
10 */ 10 */
11
12//config:config UDHCPC6 11//config:config UDHCPC6
13//config: bool "udhcpc6" 12//config: bool "udhcpc6"
14//config: default n # not yet ready 13//config: default n # not yet ready
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index 55e0400b9..99d91bf70 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -1183,44 +1183,6 @@ static void client_background(void)
1183//usage: " [-i IFACE]"IF_FEATURE_UDHCP_PORT(" [-P PORT]")" [-s PROG] [-p PIDFILE]\n" 1183//usage: " [-i IFACE]"IF_FEATURE_UDHCP_PORT(" [-P PORT]")" [-s PROG] [-p PIDFILE]\n"
1184//usage: " [-oC] [-r IP] [-V VENDOR] [-F NAME] [-x OPT:VAL]... [-O OPT]..." 1184//usage: " [-oC] [-r IP] [-V VENDOR] [-F NAME] [-x OPT:VAL]... [-O OPT]..."
1185//usage:#define udhcpc_full_usage "\n" 1185//usage:#define udhcpc_full_usage "\n"
1186//usage: IF_LONG_OPTS(
1187//usage: "\n -i,--interface IFACE Interface to use (default eth0)"
1188//usage: IF_FEATURE_UDHCP_PORT(
1189//usage: "\n -P,--client-port PORT Use PORT (default 68)"
1190//usage: )
1191//usage: "\n -s,--script PROG Run PROG at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")"
1192//usage: "\n -p,--pidfile FILE Create pidfile"
1193//usage: "\n -B,--broadcast Request broadcast replies"
1194//usage: "\n -t,--retries N Send up to N discover packets (default 3)"
1195//usage: "\n -T,--timeout SEC Pause between packets (default 3)"
1196//usage: "\n -A,--tryagain SEC Wait if lease is not obtained (default 20)"
1197//usage: "\n -n,--now Exit if lease is not obtained"
1198//usage: "\n -q,--quit Exit after obtaining lease"
1199//usage: "\n -R,--release Release IP on exit"
1200//usage: "\n -f,--foreground Run in foreground"
1201//usage: USE_FOR_MMU(
1202//usage: "\n -b,--background Background if lease is not obtained"
1203//usage: )
1204//usage: "\n -S,--syslog Log to syslog too"
1205//usage: IF_FEATURE_UDHCPC_ARPING(
1206//usage: "\n -a[MSEC],--arping[=MSEC] Validate offered address with ARP ping"
1207//usage: )
1208//usage: "\n -r,--request IP Request this IP address"
1209//usage: "\n -o,--no-default-options Don't request any options (unless -O is given)"
1210//usage: "\n -O,--request-option OPT Request option OPT from server (cumulative)"
1211//usage: "\n -x OPT:VAL Include option OPT in sent packets (cumulative)"
1212//usage: "\n Examples of string, numeric, and hex byte opts:"
1213//usage: "\n -x hostname:bbox - option 12"
1214//usage: "\n -x lease:3600 - option 51 (lease time)"
1215//usage: "\n -x 0x3d:0100BEEFC0FFEE - option 61 (client id)"
1216//usage: "\n -F,--fqdn NAME Ask server to update DNS mapping for NAME"
1217//usage: "\n -V,--vendorclass VENDOR Vendor identifier (default 'udhcp VERSION')"
1218//usage: "\n -C,--clientid-none Don't send MAC as client identifier"
1219//usage: IF_UDHCP_VERBOSE(
1220//usage: "\n -v Verbose"
1221//usage: )
1222//usage: )
1223//usage: IF_NOT_LONG_OPTS(
1224//usage: "\n -i IFACE Interface to use (default eth0)" 1186//usage: "\n -i IFACE Interface to use (default eth0)"
1225//usage: IF_FEATURE_UDHCP_PORT( 1187//usage: IF_FEATURE_UDHCP_PORT(
1226//usage: "\n -P PORT Use PORT (default 68)" 1188//usage: "\n -P PORT Use PORT (default 68)"
@@ -1256,7 +1218,6 @@ static void client_background(void)
1256//usage: IF_UDHCP_VERBOSE( 1218//usage: IF_UDHCP_VERBOSE(
1257//usage: "\n -v Verbose" 1219//usage: "\n -v Verbose"
1258//usage: ) 1220//usage: )
1259//usage: )
1260//usage: "\nSignals:" 1221//usage: "\nSignals:"
1261//usage: "\n USR1 Renew lease" 1222//usage: "\n USR1 Renew lease"
1262//usage: "\n USR2 Release lease" 1223//usage: "\n USR2 Release lease"
diff --git a/networking/vconfig.c b/networking/vconfig.c
index 62a483865..8548c8c3b 100644
--- a/networking/vconfig.c
+++ b/networking/vconfig.c
@@ -6,9 +6,6 @@
6 * 6 *
7 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 7 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
8 */ 8 */
9
10/* BB_AUDIT SUSv3 N/A */
11
12//config:config VCONFIG 9//config:config VCONFIG
13//config: bool "vconfig (2.5 kb)" 10//config: bool "vconfig (2.5 kb)"
14//config: default y 11//config: default y
@@ -34,6 +31,8 @@
34#include "libbb.h" 31#include "libbb.h"
35#include <net/if.h> 32#include <net/if.h>
36 33
34/* BB_AUDIT SUSv3 N/A */
35
37/* Stuff from linux/if_vlan.h, kernel version 2.4.23 */ 36/* Stuff from linux/if_vlan.h, kernel version 2.4.23 */
38enum vlan_ioctl_cmds { 37enum vlan_ioctl_cmds {
39 ADD_VLAN_CMD, 38 ADD_VLAN_CMD,
diff --git a/networking/wget.c b/networking/wget.c
index 0001ddcba..1f5ab8bc2 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -8,7 +8,6 @@
8 * Copyright (C) 2010 Bradley M. Kuhn <bkuhn@ebb.org> 8 * Copyright (C) 2010 Bradley M. Kuhn <bkuhn@ebb.org>
9 * Kuhn's copyrights are licensed GPLv2-or-later. File as a whole remains GPLv2. 9 * Kuhn's copyrights are licensed GPLv2-or-later. File as a whole remains GPLv2.
10 */ 10 */
11
12//config:config WGET 11//config:config WGET
13//config: bool "wget (35 kb)" 12//config: bool "wget (35 kb)"
14//config: default y 13//config: default y
diff --git a/networking/whois.c b/networking/whois.c
index fd1cdf43e..f0ec86301 100644
--- a/networking/whois.c
+++ b/networking/whois.c
@@ -9,7 +9,6 @@
9 * Add ipv6 support 9 * Add ipv6 support
10 * Add proxy support 10 * Add proxy support
11 */ 11 */
12
13//config:config WHOIS 12//config:config WHOIS
14//config: bool "whois (6.6 kb)" 13//config: bool "whois (6.6 kb)"
15//config: default y 14//config: default y