aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-06-23 02:46:53 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2020-06-23 02:46:53 +0200
commit6eb38fded2f459f2828121a2f6b1499da2677553 (patch)
tree3762da91bad8762ff3666d4936460b6dc914a15e /networking
parent62744efa472886ea8fdeb262dcb184974e3f88de (diff)
downloadbusybox-6eb38fded2f459f2828121a2f6b1499da2677553.tar.gz
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/brctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/brctl.c b/networking/brctl.c
index 25640246d..68725f93c 100644
--- a/networking/brctl.c
+++ b/networking/brctl.c
@@ -591,6 +591,7 @@ int brctl_main(int argc UNUSED_PARAM, char **argv)
return EXIT_SUCCESS;
}
+#if ENABLE_FEATURE_BRCTL_FANCY
if (key == ARG_showmacs) {
show_bridge_macs(br);
return EXIT_SUCCESS;
@@ -599,6 +600,7 @@ int brctl_main(int argc UNUSED_PARAM, char **argv)
show_bridge_stp(br);
return EXIT_SUCCESS;
}
+#endif
if (!*argv) /* All of the below need at least two arguments */
bb_show_usage();