formatting

This commit is contained in:
Erik Ekman 2008-09-09 19:36:51 +00:00 committed by Erik Ekman
parent 49695a4cb4
commit bd45e6ccb2

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);