mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-23 05:43:32 +02:00
Move printout
This commit is contained in:
parent
41330f5f2b
commit
ccae5695c0
2 changed files with 1 additions and 1 deletions
1
dns.c
1
dns.c
|
@ -139,6 +139,7 @@ open_dnsd(const char *domain)
|
|||
}
|
||||
|
||||
printf("Opened UDP socket\n");
|
||||
printf("Listening to dns for domain %s\n", domain);
|
||||
|
||||
// Save top domain used
|
||||
strncpy(topdomain, domain, sizeof(topdomain) - 2);
|
||||
|
|
|
@ -184,7 +184,6 @@ main(int argc, char **argv)
|
|||
|
||||
tun_fd = open_tun();
|
||||
dnsd_fd = open_dnsd(argv[0]);
|
||||
printf("Listening to dns for domain %s\n", argv[0]);
|
||||
|
||||
if (!foreground) {
|
||||
daemon(0, 0);
|
||||
|
|
Loading…
Reference in a new issue