51b0cf709d2d7fd28d7b76db7a09a308724cb5b1
[openwrt.git] / package / busybox / patches / 003-brctl_show_fix.patch
1 --- a/networking/brctl.c
2 +++ b/networking/brctl.c
3 @@ -90,7 +90,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 - USE_FEATURE_BRCTL_SHOW("showmacs\0" "show\0");
8 + USE_FEATURE_BRCTL_SHOW("show\0");
9
10 enum { ARG_addbr = 0, ARG_delbr, ARG_addif, ARG_delif
11 USE_FEATURE_BRCTL_FANCY(,
12 @@ -98,7 +98,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 - USE_FEATURE_BRCTL_SHOW(, ARG_showmacs, ARG_show)
17 + USE_FEATURE_BRCTL_SHOW(, ARG_show)
18 };
19
20 int fd;
21 --- a/networking/Config.in
22 +++ b/networking/Config.in
23 @@ -66,12 +66,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 n
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"
This page took 0.054966 seconds and 3 git commands to generate.