summaryrefslogtreecommitdiffstats
path: root/tests/stats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-12-16 01:12:35 +0100
committerHarald Welte <laforge@gnumonks.org>2017-12-18 23:05:50 +0000
commitc0b0b623053f16790d7d675812befe382ebdfd6e (patch)
treec53db24db8dd13b122cf033050fecf86acef25fd /tests/stats
parentf2e83ad40d231e87e2604ec4c97c810a8182e145 (diff)
ctrl: on parse errors, return a detailed message to sender
The recently added ctrl_cmd_parse2() returns non-NULL cmd with error messages upon parsing errors. In handle_control_read(), use ctrl_cmd_parse2() and send those back to the CTRL command sender as reply. Retain the previous "Command parser error" reply only in case ctrl_cmd_parse2() should return NULL, which shouldn't actually happen at all. Change-Id: Ie35a02555b76913bb12734a76fc40fde7ffb244d
Diffstat (limited to 'tests/stats')
0 files changed, 0 insertions, 0 deletions