summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDonald Lee <dlqs@gmx.com>2021-07-04 23:08:18 +0800
committerDonald Lee <dlqs@gmx.com>2021-07-18 06:32:03 +0800
commit40d038d2a1c8329c408c4fffd88e674413dfd427 (patch)
treeec28b87470d1fd460f567fd367ddaf52e1f4d05c /lib/command.c
parentf0cddf950f928b6f9a8d56c688235cea728fda41 (diff)
lib: Change frrscript_call to call function instead
There is some rather heavy error checking logic in frrscript_call. Normally I'd put this in the _frrscript_call function, but the error checking needs to happen before the encoders/decoders in the macro are called. The error checking looks messy but its really just nested ternary expressions insite a larger statement expression. Signed-off-by: Donald Lee <dlqs@gmx.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions