formatting

This commit is contained in:
Erik Ekman 2008-09-09 19:36:51 +00:00
parent e359f64003
commit 63d65bb30e

View File

@ -422,7 +422,8 @@ tunnel_dns(int tun_fd, int dns_fd, int bind_fd)
if (debug >= 1) { if (debug >= 1) {
struct sockaddr_in *tempin; struct sockaddr_in *tempin;
tempin = (struct sockaddr_in *) &(q.from); tempin = (struct sockaddr_in *) &(q.from);
printf("RX: client %s, type %d, name %s\n", inet_ntoa(tempin->sin_addr), q.type, q.name); printf("RX: client %s, type %d, name %s\n",
inet_ntoa(tempin->sin_addr), q.type, q.name);
} }
domain = strstr(q.name, topdomain); domain = strstr(q.name, topdomain);