summaryrefslogtreecommitdiffstats
path: root/utils/ulog_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/ulog_test.c')
-rw-r--r--utils/ulog_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/ulog_test.c b/utils/ulog_test.c
index 20f6163..213a2bf 100644
--- a/utils/ulog_test.c
+++ b/utils/ulog_test.c
@@ -22,7 +22,7 @@ void handle_packet(ulog_packet_msg_t *pkt)
{
unsigned char *p;
int i;
-
+
printf("Hook=%u Mark=%lu len=%zu ",
pkt->hook, pkt->mark, pkt->data_len);
if (strlen(pkt->prefix))
@@ -34,7 +34,7 @@ void handle_packet(ulog_packet_msg_t *pkt)
if (pkt->timestamp_sec || pkt->timestamp_usec)
printf("Timestamp=%ld.%06lds ",
pkt->timestamp_sec, pkt->timestamp_usec);
-
+
if (pkt->mac_len)
{
printf("mac=");
@@ -63,7 +63,7 @@ int main(int argc, char *argv[])
buf = malloc(MYBUFSIZ);
if (!buf)
exit(1);
-
+
/* create ipulog handle */
h = ipulog_create_handle(ipulog_group2gmask(atoi(argv[2])), 65535);
if (!h)
@@ -87,7 +87,7 @@ int main(int argc, char *argv[])
handle_packet(upkt);
}
}
-
+
/* just to give it a cleaner look */
ipulog_destroy_handle(h);
return 0;