[nftables] netlink_linearize: remove two debugging printfs

Patrick McHardy netfilter-cvslog-bounces at lists.netfilter.org
Wed Apr 1 07:39:49 CEST 2009


Gitweb:		http://git.netfilter.org/cgi-bin/gitweb.cgi?p=nftables.git;a=commit;h=14ea655e60c929429a2858545e411ced108ad995
commit 14ea655e60c929429a2858545e411ced108ad995
Author:     Patrick McHardy <kaber at trash.net>
AuthorDate: Tue Mar 31 04:07:20 2009 +0200
Commit:     Patrick McHardy <kaber at trash.net>
CommitDate: Tue Mar 31 04:07:20 2009 +0200

    netlink_linearize: remove two debugging printfs
    
    Signed-off-by: Patrick McHardy <kaber at trash.net>
       via  14ea655e60c929429a2858545e411ced108ad995 (commit)
      from  fc42681eb5872c1ddc3008b35c7c662a46efe8bb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 14ea655e60c929429a2858545e411ced108ad995
Author: Patrick McHardy <kaber at trash.net>
Date:   Tue Mar 31 04:07:20 2009 +0200

    netlink_linearize: remove two debugging printfs
    
    Signed-off-by: Patrick McHardy <kaber at trash.net>

-----------------------------------------------------------------------

 src/netlink_linearize.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
Signed-off-by: Patrick McHardy <kaber at trash.net>

diff --git a/src/netlink_linearize.c b/src/netlink_linearize.c
index ec551b6..0a28b29 100644
--- a/src/netlink_linearize.c
+++ b/src/netlink_linearize.c
@@ -504,9 +504,7 @@ static void netlink_gen_unary(struct netlink_linearize_ctx *ctx,
 	nle = alloc_nft_expr(nfnl_nft_byteorder_init);
 	nfnl_nft_byteorder_set_sreg(nle, dreg);
 	nfnl_nft_byteorder_set_dreg(nle, dreg);
-	printf("%u\n", expr->len);
 	nfnl_nft_byteorder_set_len(nle, expr->len / BITS_PER_BYTE);
-	printf("%u\n", expr->arg->len);
 	nfnl_nft_byteorder_set_size(nle, expr->arg->len % 32 ? 2 : 4);
 	nfnl_nft_byteorder_set_op(nle, netlink_gen_unary_op(expr->op));
 	nfnl_nft_rule_add_expr(ctx->nlr, nle);



More information about the netfilter-cvslog mailing list