2009-05-25 13:52:31 +00:00
|
|
|
--- a/networking/brctl.c
|
|
|
|
+++ b/networking/brctl.c
|
2010-08-15 10:06:58 +00:00
|
|
|
@@ -105,7 +105,7 @@ int brctl_main(int argc UNUSED_PARAM, ch
|
2009-05-25 13:52:31 +00:00
|
|
|
"setageing\0" "setfd\0" "sethello\0" "setmaxage\0"
|
|
|
|
"setpathcost\0" "setportprio\0" "setbridgeprio\0"
|
|
|
|
)
|
2009-12-07 16:56:04 +00:00
|
|
|
- IF_FEATURE_BRCTL_SHOW("showmacs\0" "show\0");
|
|
|
|
+ IF_FEATURE_BRCTL_SHOW("show\0");
|
2009-05-25 13:52:31 +00:00
|
|
|
|
|
|
|
enum { ARG_addbr = 0, ARG_delbr, ARG_addif, ARG_delif
|
2009-12-07 16:56:04 +00:00
|
|
|
IF_FEATURE_BRCTL_FANCY(,
|
2010-08-15 10:06:58 +00:00
|
|
|
@@ -113,7 +113,7 @@ int brctl_main(int argc UNUSED_PARAM, ch
|
2009-05-25 13:52:31 +00:00
|
|
|
ARG_setageing, ARG_setfd, ARG_sethello, ARG_setmaxage,
|
|
|
|
ARG_setpathcost, ARG_setportprio, ARG_setbridgeprio
|
|
|
|
)
|
2009-12-07 16:56:04 +00:00
|
|
|
- IF_FEATURE_BRCTL_SHOW(, ARG_showmacs, ARG_show)
|
|
|
|
+ IF_FEATURE_BRCTL_SHOW(, ARG_show)
|
2009-05-25 13:52:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
int fd;
|
2010-08-15 09:53:21 +00:00
|
|
|
--- a/networking/Config.src
|
|
|
|
+++ b/networking/Config.src
|
2010-08-15 10:06:58 +00:00
|
|
|
@@ -79,12 +79,12 @@ config FEATURE_BRCTL_FANCY
|
2009-05-25 13:52:31 +00:00
|
|
|
This adds about 600 bytes.
|
|
|
|
|
|
|
|
config FEATURE_BRCTL_SHOW
|
|
|
|
- bool "Support show, showmac and showstp"
|
|
|
|
+ bool "Support show"
|
2010-08-15 09:53:21 +00:00
|
|
|
default y
|
2009-05-25 13:52:31 +00:00
|
|
|
depends on BRCTL && FEATURE_BRCTL_FANCY
|
|
|
|
help
|
2010-08-15 10:06:58 +00:00
|
|
|
Add support for option which prints the current config:
|
|
|
|
- showmacs, showstp, show
|
|
|
|
+ show
|
|
|
|
|
|
|
|
config DNSD
|
|
|
|
bool "dnsd"
|