summaryrefslogtreecommitdiff
path: root/tests/conntrackd/cthelper/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conntrackd/cthelper/main.c')
-rwxr-xr-xtests/conntrackd/cthelper/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/conntrackd/cthelper/main.c b/tests/conntrackd/cthelper/main.c
index f229c5d..7021f00 100755
--- a/tests/conntrackd/cthelper/main.c
+++ b/tests/conntrackd/cthelper/main.c
@@ -119,10 +119,10 @@ cthelper_process_packet(const uint8_t *pkt, uint32_t pktlen,
ct->myct->ct = tmp;
if (pktb_mangled(pktb)) {
- int i;
+ uint32_t i;
uint8_t *data = pktb_network_header(pktb);
- printf("\e[1;31mmangled content: ", pktb_len(pktb));
+ printf("\e[1;31mmangled content: ");
for (i=0; i < pktb_len(pktb); i++)
printf("%c", data[i]);