diff options
author | Kristian Evensen <kristian.evensen@gmail.com> | 2014-01-11 14:03:17 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-01-15 11:02:18 +0100 |
commit | 006eac019347f0ae50ef188fb7b6e3db6f119ffa (patch) | |
tree | b9f8ec2cf83d71aa01f87c0f5acbcaff35dccb6a /tests/nft-rule-test.c | |
parent | 3177a0d6f4be42775c128c02afe7de78dc3ea99d (diff) |
meta: Let user specify any combination of sreg/dreg
libnftables should not mask kernel errors. Let user specify any combination of
parameters and leave the error-checking to the kernel. The kernel will return
-EINVAL and users will know that they have to fix their code. This patch also a
removes a redundant variable that was passed to the snprintf-functions (flag).
A second iteration might be needed. I was not sure how to deal with
snprintf_default in the case of both sreg and dreg.
Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/nft-rule-test.c')
0 files changed, 0 insertions, 0 deletions