summaryrefslogtreecommitdiff
path: root/networking/tc.c
diff options
context:
space:
mode:
authorDenys Vlasenko2016-11-23 09:51:33 +0100
committerDenys Vlasenko2016-11-23 09:51:33 +0100
commit29e2c45a5b317556a890a86ca7780e589072151c (patch)
treed0da5ef7f8ae5cfcf69e352e05217053bb6f46d3 /networking/tc.c
parent83423978014bce3ef4d09022d3eb1a4a32f7ba6d (diff)
downloadbusybox-29e2c45a5b317556a890a86ca7780e589072151c.zip
busybox-29e2c45a5b317556a890a86ca7780e589072151c.tar.gz
tc: consolidate its disabled bits
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/tc.c')
-rw-r--r--networking/tc.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/networking/tc.c b/networking/tc.c
index e10200c..271d569 100644
--- a/networking/tc.c
+++ b/networking/tc.c
@@ -6,7 +6,22 @@
*
* Bernhard Reutner-Fischer adjusted for busybox
*/
-//kbuild:lib-$(CONFIG_TC) += tc.o
+
+/* Was disabled in 2008 by Bernhard, not known why.
+--//config:#config TC
+--//config:# bool "tc"
+--//config:# default y
+--//config:# help
+--//config:# Show / manipulate traffic control settings
+--//config:#
+--//config:#config FEATURE_TC_INGRESS
+--//config:# default y
+--//config:# depends on TC
+--
+--//applet:IF_TC(APPLET(tc, BB_DIR_SBIN, BB_SUID_DROP))
+--
+--//kbuild:lib-$(CONFIG_TC) += tc.o
+*/
//usage:#define tc_trivial_usage
/* //usage: "[OPTIONS] OBJECT CMD [dev STRING]" */