diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-09-07 18:02:50 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-09-07 20:01:05 +0200 |
commit | 0e7b6c4983af4ddd3a50c3ce756638af157c7130 (patch) | |
tree | 2a2a0245283905a7540a292c5181926e6070ad4a /examples/nft-table-parse-add.c | |
parent | d549a220dc3cd3294f4b16a5c04c9df298835486 (diff) |
src: get rid of _ATTR_ infix in new nfntl_ definitions
The constant names are already large, trim off the _ATTR_ infix in the
attribute definitions.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'examples/nft-table-parse-add.c')
-rw-r--r-- | examples/nft-table-parse-add.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nft-table-parse-add.c b/examples/nft-table-parse-add.c index 794db97..6a34f56 100644 --- a/examples/nft-table-parse-add.c +++ b/examples/nft-table-parse-add.c @@ -116,7 +116,7 @@ int main(int argc, char *argv[]) mnl_nlmsg_batch_next(batch); } - family = nftnl_table_attr_get_u32(t, NFTNL_TABLE_ATTR_FAMILY); + family = nftnl_table_attr_get_u32(t, NFTNL_TABLE_FAMILY); table_seq = seq; nlh = nftnl_table_nlmsg_build_hdr(mnl_nlmsg_batch_current(batch), |