randomconfig fixes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2020-06-23 02:46:53 +02:00
parent 62744efa47
commit 6eb38fded2
2 changed files with 4 additions and 0 deletions

View File

@ -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();