diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-10-24 15:20:04 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-10-24 15:23:56 +0200 |
commit | 6db6ec4d46270d1cd0b877bc03cd589789c53367 (patch) | |
tree | c99ade57aaaaf7e59213e609dd5a4d125f2bffa3 /src/rule.c | |
parent | 7aa53c6c9bbe20631b63c6996bdaf0ce431b8d3e (diff) |
src: add nft_ prefix to everything exposed through include/nftables/nftables.h
Prepend nft_ prefix before these are exposed, reduce chances we hit
symbol namespace pollution problems when mixing libnftables with other
existing libraries.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/rule.c')
-rw-r--r-- | src/rule.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -134,7 +134,7 @@ static int cache_init(struct mnl_socket *nf_sock, struct nft_cache *cache, .cache = cache, .msgs = msgs, .seqnum = cache->seqnum++, - .debug_mask = debug ? DEBUG_NETLINK : 0, + .debug_mask = debug ? NFT_DEBUG_NETLINK : 0, .octx = octx, }; int ret; |