diff options
author | Phil Sutter <phil@nwl.cc> | 2021-03-09 10:40:16 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2021-03-15 12:23:11 +0100 |
commit | f4ad4d3879cead150e86c279ac8e4770e4b167b1 (patch) | |
tree | eac8c2276ecdcc598fff2707975909d01b56f900 /tests/nft-expr_redir-test.c | |
parent | 636fd0daf4890a785e8b165c5ce2c602e5361fcb (diff) |
expr: Check output type once and for all
There is but a single supported output type left, so check it in expr.c
and drop all the single option switch statements in individual
expressions.
Since the parameter is now unused (and to ensure code correctness), drop
'type' parameter from struct expr_ops' snprintf callback.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'tests/nft-expr_redir-test.c')
0 files changed, 0 insertions, 0 deletions