diff options
-rw-r--r-- | networking/Config.src | 4 | ||||
-rw-r--r-- | networking/brctl.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/networking/Config.src b/networking/Config.src index e2376d548..e1ae0c9d5 100644 --- a/networking/Config.src +++ b/networking/Config.src | |||
@@ -82,12 +82,12 @@ config FEATURE_BRCTL_FANCY | |||
82 | This adds about 600 bytes. | 82 | This adds about 600 bytes. |
83 | 83 | ||
84 | config FEATURE_BRCTL_SHOW | 84 | config FEATURE_BRCTL_SHOW |
85 | bool "Support show, showmac and showstp" | 85 | bool "Support show" |
86 | default y | 86 | default y |
87 | depends on BRCTL && FEATURE_BRCTL_FANCY | 87 | depends on BRCTL && FEATURE_BRCTL_FANCY |
88 | help | 88 | help |
89 | Add support for option which prints the current config: | 89 | Add support for option which prints the current config: |
90 | showmacs, showstp, show | 90 | show |
91 | 91 | ||
92 | config DNSD | 92 | config DNSD |
93 | bool "dnsd" | 93 | bool "dnsd" |
diff --git a/networking/brctl.c b/networking/brctl.c index 7289e641f..b4f5809df 100644 --- a/networking/brctl.c +++ b/networking/brctl.c | |||
@@ -129,7 +129,7 @@ int brctl_main(int argc UNUSED_PARAM, char **argv) | |||
129 | "setageing\0" "setfd\0" "sethello\0" "setmaxage\0" | 129 | "setageing\0" "setfd\0" "sethello\0" "setmaxage\0" |
130 | "setpathcost\0" "setportprio\0" "setbridgeprio\0" | 130 | "setpathcost\0" "setportprio\0" "setbridgeprio\0" |
131 | ) | 131 | ) |
132 | IF_FEATURE_BRCTL_SHOW("showmacs\0" "show\0"); | 132 | IF_FEATURE_BRCTL_SHOW("show\0"); |
133 | 133 | ||
134 | enum { ARG_addbr = 0, ARG_delbr, ARG_addif, ARG_delif | 134 | enum { ARG_addbr = 0, ARG_delbr, ARG_addif, ARG_delif |
135 | IF_FEATURE_BRCTL_FANCY(, | 135 | IF_FEATURE_BRCTL_FANCY(, |
@@ -137,7 +137,7 @@ int brctl_main(int argc UNUSED_PARAM, char **argv) | |||
137 | ARG_setageing, ARG_setfd, ARG_sethello, ARG_setmaxage, | 137 | ARG_setageing, ARG_setfd, ARG_sethello, ARG_setmaxage, |
138 | ARG_setpathcost, ARG_setportprio, ARG_setbridgeprio | 138 | ARG_setpathcost, ARG_setportprio, ARG_setbridgeprio |
139 | ) | 139 | ) |
140 | IF_FEATURE_BRCTL_SHOW(, ARG_showmacs, ARG_show) | 140 | IF_FEATURE_BRCTL_SHOW(, ARG_show) |
141 | }; | 141 | }; |
142 | 142 | ||
143 | int fd; | 143 | int fd; |