On Sun, Jul 30, 2017 at 11:52:29PM +0530, Varsha Rao wrote: > 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. > > Signed-off-by: Varsha Rao <rvarsha016@xxxxxxxxx> > --- > Changes in v1: > - Subscribe nft monitor to only _NFTABLES. > - Subsribe nft monitor trace to only _NFTRACE. > > Changes in v2: > - Subsribe nft monitor to both _NFTABLES and _NFTRACE. > - Subscribe other events to _NFTABLES. > - Modified commit message. > > Changes in v3: > - Define constant NFT_MONTRACE. > > src/netlink.c | 36 ++++++++++++++++++++++++++---------- > 1 file changed, 26 insertions(+), 10 deletions(-) > > diff --git a/src/netlink.c b/src/netlink.c > index 9cef4c4..123088a 100644 > --- a/src/netlink.c > +++ b/src/netlink.c > @@ -39,6 +39,9 @@ > #include <erec.h> > #include <iface.h> > > +#define NFT_MONTRACE 131439 > +/* This value is OR of monitor_flags for trace event and NFNLGRP_NFTABLES */ This is still no enough. Sorry, please respin and send v4. Thanks! -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html