diff options
author | Patrick McHardy <kaber@trash.net> | 2014-01-16 20:01:56 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2014-01-16 20:01:56 +0000 |
commit | 11884cfb1c0432cc455ff8e3269500e819e0c434 (patch) | |
tree | 90678c8cf7a3193a1356069a238e7bd1428bb251 /include/rbtree.h | |
parent | 21cfa9a7405f78f424c869e592d21ebdaf379803 (diff) |
set: make set flags output parsable
This patch fixes two problems:
- the output of "nft list table ..." is not parsable if sets are included
because the parser can't parse the flags.
- set flags can't be specified during set creation.
To fix this, the set output is changed to:
- not print each flag on a single line
- prefix the flags with "flags "
- only show the interval flag since all others are for internal use only
The parser is changed to parse the flags specified in a set declaration.
This allows to parse empty sets. The following patch will take care of
parsing sets that are already populated.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/rbtree.h')
0 files changed, 0 insertions, 0 deletions