diff --git a/src/iodined.c b/src/iodined.c index 787fd75..6c6fead 100644 --- a/src/iodined.c +++ b/src/iodined.c @@ -571,7 +571,7 @@ tunnel_tun(int tun_fd, int dns_fd) userid = find_user_by_ip6(header6->ip6_dst); } - pritnf("tunnel_tun() - userid = %d", userid); + printf("tunnel_tun() - userid = %d\n", userid); if (userid < 0) return 0; @@ -1770,7 +1770,7 @@ handle_full_packet(int tun_fd, int dns_fd, int userid) touser = find_user_by_ip6(hdr->ip6_dst); } - printf("handle_full_packet() - touser = %d, version = %d", touser, hdr->ip_v); + printf("handle_full_packet() - touser = %d, version = %d\n", touser, hdr->ip_v); if (touser == -1) { /* send the uncompressed packet to tun device */ diff --git a/src/tun.c b/src/tun.c index 3a8753c..ac929a6 100644 --- a/src/tun.c +++ b/src/tun.c @@ -365,7 +365,7 @@ close_tun(int tun_fd) int write_tun(int tun_fd, unsigned char *data, size_t len, char version) { - printf("write_tun() - version = %d", version); + printf("write_tun() - version = %d\n", version); #if defined (FREEBSD) || defined (DARWIN) || defined(NETBSD) || defined(WINDOWS32) data += 4; len -= 4;