Re: [OpenWrt-Devel] [PATCH] Bugfix: set CONFIG_SECTION before entering config_cb()

2010-05-01 Thread Dominique Quatravaux
On Sat, May 1, 2010 at 8:01 PM, Felix Fietkau wrote: > The patch is wrong. Callers to config_load() can use config_cb() in two > ways. [...] I see. Thanks for the quick answer. --   Dominique Quatravaux   +41 79 609 40 72 ___ openwrt-devel mailing lis

Re: [OpenWrt-Devel] [PATCH] Bugfix: set CONFIG_SECTION before entering config_cb()

2010-05-01 Thread Felix Fietkau
On 2010-05-01 6:44 PM, d...@cpan.org wrote: > A number of callers of config_load() which define a config_cb() (for instance > in /lib/network/config.sh) assume that CONFIG_SECTION is the name of the > current section, while actually it is not the case. This patch fixes that. The patch is wrong. Ca

[OpenWrt-Devel] [PATCH] Bugfix: set CONFIG_SECTION before entering config_cb()

2010-05-01 Thread domq
A number of callers of config_load() which define a config_cb() (for instance in /lib/network/config.sh) assume that CONFIG_SECTION is the name of the current section, while actually it is not the case. This patch fixes that. Signed-off-by: Dominique Quatravaux --- package/base-files/files/etc