]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: netlink: Subscribe nft monitor and nft monitor trace to respective groups.
authorVarsha Rao <rvarsha016@gmail.com>
Wed, 2 Aug 2017 11:43:08 +0000 (12:43 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 2 Aug 2017 13:03:31 +0000 (15:03 +0200)
commit67cc041bd34ac7a3b3f6a3e7e811cf33ca757226
tree98c729dc48a773ded6d2df7909e37e15a68a4019
parent9871458e20c941f08bc8a825ee24f2a868f875d2
src: netlink: Subscribe nft monitor and nft monitor trace to respective groups.

Subscribe nft monitor to both NFNLGRP_NFTABLES and NFNLGRP_NFTRACE.
nft monitor trace subscribes only to NFNLGRP_NFTRACE. Other event
reporting options to only NFNLGRP_NFTABLES.

Joint work with Pablo Neira.

Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/netlink.c