fmt
authorChristian Grothoff <christian@grothoff.org>
Fri, 2 Jul 2010 20:26:31 +0000 (20:26 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 2 Jul 2010 20:26:31 +0000 (20:26 +0000)
src/vpn/pretty-print.c

index 0a80beecdf3fbeebe16f1df4cca0a2ad776a8a0b..096afbf961a24bf91a1d8b3ef57b6aa3b730ded8 100644 (file)
@@ -145,7 +145,7 @@ void pkt_printf(struct ip6_pkt* pkt) {{{
                pp_hexdump(pkt->data + (16*i), buf + 420 + (i*70), size - 16*i);
        }
 
-       printf(buf);
+       printf("%s", buf);
        free(buf);
 }}}