From d083308d1743c1860c0845d55e9fc9672f7ce2f3 Mon Sep 17 00:00:00 2001 From: Duncan Roe Date: Tue, 31 Aug 2021 18:01:58 +1000 Subject: src: whitespace: Remove trailing whitespace and inconsistent indents All .c and .h files now have no lines with trailing whitespace. All .c and .h files now indent with tabs followed by <8 spaces. Signed-off-by: Duncan Roe Signed-off-by: Pablo Neira Ayuso --- utils/nfulnl_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/nfulnl_test.c') diff --git a/utils/nfulnl_test.c b/utils/nfulnl_test.c index dd3091b..da140b4 100644 --- a/utils/nfulnl_test.c +++ b/utils/nfulnl_test.c @@ -15,9 +15,9 @@ static int print_pkt(struct nflog_data *ldata) char *prefix = nflog_get_prefix(ldata); char *payload; int payload_len = nflog_get_payload(ldata, &payload); - + if (ph) { - printf("hw_protocol=0x%04x hook=%u ", + printf("hw_protocol=0x%04x hook=%u ", ntohs(ph->hw_protocol), ph->hook); } -- cgit v1.2.3