aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorTony Ambardar <itugrok@yahoo.com>2018-06-08 04:34:00 -0700
committerHans Dedecker <dedeckeh@gmail.com>2018-07-16 09:32:27 +0200
commit393ee8d0b28a1e1761e914a1e977bd4a038781a0 (patch)
tree5022f31aeb349c60d5edce0ea6e231195341929d /toolchain
parentc9c0fc28a9c40486cea194d24a042ad690a73363 (diff)
downloadupstream-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 'toolchain')
0 files changed, 0 insertions, 0 deletions