Message ID | 1426518371-11717-2-git-send-email-alvaroneay@gmail.com |
---|---|
State | Changes Requested |
Delegated to: | Pablo Neira |
Headers | show |
Please, fix this in the library. On Mon, Mar 16, 2015 at 04:06:10PM +0100, Alvaro Neira Ayuso wrote: > Signed-off-by: Alvaro Neira Ayuso <alvaroneay@gmail.com> > --- > src/rule.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/rule.c b/src/rule.c > index 8d76fd0..b392ead 100644 > --- a/src/rule.c > +++ b/src/rule.c > @@ -754,7 +754,7 @@ static int do_command_export(struct netlink_ctx *ctx, struct cmd *cmd) > if (rs == NULL) > return -1; > > - nft_ruleset_fprintf(stdout, rs, cmd->export->format, 0); > + nft_ruleset_fprintf(stdout, rs, cmd->export->format, NFT_OF_EVENT_NEW); > fprintf(stdout, "\n"); > > nft_ruleset_free(rs); > -- > 1.7.10.4 > > -- > To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/src/rule.c b/src/rule.c index 8d76fd0..b392ead 100644 --- a/src/rule.c +++ b/src/rule.c @@ -754,7 +754,7 @@ static int do_command_export(struct netlink_ctx *ctx, struct cmd *cmd) if (rs == NULL) return -1; - nft_ruleset_fprintf(stdout, rs, cmd->export->format, 0); + nft_ruleset_fprintf(stdout, rs, cmd->export->format, NFT_OF_EVENT_NEW); fprintf(stdout, "\n"); nft_ruleset_free(rs);
Signed-off-by: Alvaro Neira Ayuso <alvaroneay@gmail.com> --- src/rule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)