diff options
author | Tony Ambardar <itugrok@yahoo.com> | 2018-06-08 04:34:00 -0700 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2018-07-16 09:32:27 +0200 |
commit | 393ee8d0b28a1e1761e914a1e977bd4a038781a0 (patch) | |
tree | 5022f31aeb349c60d5edce0ea6e231195341929d /include/scons.mk | |
parent | c9c0fc28a9c40486cea194d24a042ad690a73363 (diff) | |
download | upstream-393ee8d0b28a1e1761e914a1e977bd4a038781a0.tar.gz upstream-393ee8d0b28a1e1761e914a1e977bd4a038781a0.tar.bz2 upstream-393ee8d0b28a1e1761e914a1e977bd4a038781a0.zip |
qos-scripts: fix uci callback handling
The previous callback code was fragile, dependent on some UCI callback
bugs and side-effects now fixed in master commit 73d8a6ab.
Update scripts to use callbacks where appropriate and necessary, while
using normal UCI config parsing for all else. This results in smaller,
simpler, more robust code. Use callbacks in generate.sh to only process
'interface' defaults and the varying entries for 'reclassify', 'default'
and 'classify' sections. Also switch qos-stat to use non-callback UCI
handling.
The current changes work independently of 73d8a6ab (i.e. both before and
after), and are consistent with UCI config parsing documentation.
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Diffstat (limited to 'include/scons.mk')
0 files changed, 0 insertions, 0 deletions