summaryrefslogtreecommitdiff
path: root/networking/brctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/brctl.c')
-rw-r--r--networking/brctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/brctl.c b/networking/brctl.c
index 2564024..68725f9 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();