projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix Set Tx Power error in wificonf
[openwrt.git]
/
openwrt
/
package
/
config
/
mconf.c
diff --git
a/openwrt/package/config/mconf.c
b/openwrt/package/config/mconf.c
index
0db6f8f
..
00580bd
100644
(file)
--- a/
openwrt/package/config/mconf.c
+++ b/
openwrt/package/config/mconf.c
@@
-101,7
+101,7
@@
static char filename[PATH_MAX+1] = ".config";
static int indent = 0;
static struct termios ios_org;
static int rows, cols;
static int indent = 0;
static struct termios ios_org;
static int rows, cols;
-st
atic st
ruct menu *current_menu;
+struct menu *current_menu;
static int child_count;
static int single_menu_mode;
static int child_count;
static int single_menu_mode;
@@
-308,6
+308,12
@@
static void build_conf(struct menu *menu)
return;
}
} else {
return;
}
} else {
+ if (menu == current_menu) {
+ cprint_tag(":%p", menu);
+ cprint_name("---%*c%s", indent + 1, ' ', menu_get_prompt(menu));
+ goto conf_childs;
+ }
+
child_count++;
val = sym_get_tristate_value(sym);
if (sym_is_choice_value(sym) && val == yes) {
child_count++;
val = sym_get_tristate_value(sym);
if (sym_is_choice_value(sym) && val == yes) {
This page took
0.021606 seconds
and
4
git commands to generate.