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