summaryrefslogtreecommitdiff
path: root/package/busybox/patches/003-brctl_show_fix.patch
blob: 9a0e4e13b2c9e917fefd8bdb2dd3ff2344a94eaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- a/networking/brctl.c
+++ b/networking/brctl.c
@@ -104,7 +104,7 @@ int brctl_main(int argc UNUSED_PARAM, ch
 		"setageing\0" "setfd\0" "sethello\0" "setmaxage\0"
 		"setpathcost\0" "setportprio\0" "setbridgeprio\0"
 	)
-	IF_FEATURE_BRCTL_SHOW("showmacs\0" "show\0");
+	IF_FEATURE_BRCTL_SHOW("show\0");
 
 	enum { ARG_addbr = 0, ARG_delbr, ARG_addif, ARG_delif
 		IF_FEATURE_BRCTL_FANCY(,
@@ -112,7 +112,7 @@ int brctl_main(int argc UNUSED_PARAM, ch
 		   ARG_setageing, ARG_setfd, ARG_sethello, ARG_setmaxage,
 		   ARG_setpathcost, ARG_setportprio, ARG_setbridgeprio
 		)
-		IF_FEATURE_BRCTL_SHOW(, ARG_showmacs, ARG_show)
+		IF_FEATURE_BRCTL_SHOW(, ARG_show)
 	};
 
 	int fd;
--- a/networking/Config.src
+++ b/networking/Config.src
@@ -79,7 +79,7 @@ config FEATURE_BRCTL_FANCY
 	  This adds about 600 bytes.
 
 config FEATURE_BRCTL_SHOW
-	bool "Support show, showmac and showstp"
+	bool "Support show"
 	default y
 	depends on BRCTL && FEATURE_BRCTL_FANCY
 	help