packages: clean up the package folder
[openwrt/staging/yousong.git] / package / utils / busybox / patches / 003-brctl_show_fix.patch
1 --- a/networking/brctl.c
2 +++ b/networking/brctl.c
3 @@ -129,7 +129,7 @@ int brctl_main(int argc UNUSED_PARAM, ch
4 "setageing\0" "setfd\0" "sethello\0" "setmaxage\0"
5 "setpathcost\0" "setportprio\0" "setbridgeprio\0"
6 )
7 - IF_FEATURE_BRCTL_SHOW("showmacs\0" "show\0");
8 + IF_FEATURE_BRCTL_SHOW("show\0");
9
10 enum { ARG_addbr = 0, ARG_delbr, ARG_addif, ARG_delif
11 IF_FEATURE_BRCTL_FANCY(,
12 @@ -137,7 +137,7 @@ int brctl_main(int argc UNUSED_PARAM, ch
13 ARG_setageing, ARG_setfd, ARG_sethello, ARG_setmaxage,
14 ARG_setpathcost, ARG_setportprio, ARG_setbridgeprio
15 )
16 - IF_FEATURE_BRCTL_SHOW(, ARG_showmacs, ARG_show)
17 + IF_FEATURE_BRCTL_SHOW(, ARG_show)
18 };
19
20 int fd;
21 --- a/networking/Config.src
22 +++ b/networking/Config.src
23 @@ -82,12 +82,12 @@ config FEATURE_BRCTL_FANCY
24 This adds about 600 bytes.
25
26 config FEATURE_BRCTL_SHOW
27 - bool "Support show, showmac and showstp"
28 + bool "Support show"
29 default y
30 depends on BRCTL && FEATURE_BRCTL_FANCY
31 help
32 Add support for option which prints the current config:
33 - showmacs, showstp, show
34 + show
35
36 config DNSD
37 bool "dnsd"