brctl: optional support for "show" cmd (by L. Gabriel Somlo <somlo AT cmu.edu>)

function                                             old     new   delta
brctl_main                                           739    1186    +447
if_indextoname                                         -     104    +104
static.keywords                                      827     841     +14
static.ops                                             -       7      +7
packed_usage                                       23978   23976      -2
This commit is contained in:
Denis Vlasenko
2008-04-06 07:17:02 +00:00
parent ad4da989e3
commit 278a1c2264
5 changed files with 147 additions and 84 deletions

View File

@@ -54,14 +54,6 @@ config BRCTL
Manage ethernet bridges.
Supports addbr/delbr and addif/delif.
#config FEATURE_BRCTL_SHOW
# bool "Support show, showmac and showstp"
# default n
# depends on BRCTL
# help
# Add support for option which print the current config:
# showmacs, showstp, show
config FEATURE_BRCTL_FANCY
bool "Fancy options"
default n
@@ -73,6 +65,14 @@ config FEATURE_BRCTL_FANCY
stp
This adds about 600 bytes.
config FEATURE_BRCTL_SHOW
bool "Support show, showmac and showstp"
default n
depends on BRCTL && FEATURE_BRCTL_FANCY
help
Add support for option which prints the current config:
showmacs, showstp, show
config DNSD
bool "dnsd"
default n