diff options
author | Tony Ambardar <itugrok@yahoo.com> | 2018-06-08 04:34:00 -0700 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2018-06-28 16:41:45 +0200 |
commit | b701d78105a3f233f993dddde12d16973ba88972 (patch) | |
tree | 6d6f86eadefd0633d4f18601133856e2637bc6ae /target/linux/ipq806x/base-files | |
parent | 7b74b40fe927ae5d2f88dfab8e26b75207878c9d (diff) | |
download | upstream-b701d78105a3f233f993dddde12d16973ba88972.tar.gz upstream-b701d78105a3f233f993dddde12d16973ba88972.tar.bz2 upstream-b701d78105a3f233f993dddde12d16973ba88972.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 'target/linux/ipq806x/base-files')
0 files changed, 0 insertions, 0 deletions