mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-22 21:16:07 +03:00
no working
This commit is contained in:
parent
d81d1c8bd7
commit
a8182ef8f1
4
iodine.c
4
iodine.c
@ -247,9 +247,9 @@ main(int argc, char **argv)
|
|||||||
|
|
||||||
if ((tun_fd = open_tun()) == -1)
|
if ((tun_fd = open_tun()) == -1)
|
||||||
goto cleanup1;
|
goto cleanup1;
|
||||||
if ((dns_fd = open_dns(argv[0], 0)) == -1)
|
if ((dns_fd = open_dns(argv[1], 0)) == -1)
|
||||||
goto cleanup2;
|
goto cleanup2;
|
||||||
if (dns_settarget(argv[1]) == -1)
|
if (dns_settarget(argv[0]) == -1)
|
||||||
goto cleanup2;
|
goto cleanup2;
|
||||||
|
|
||||||
printf("Sending queries for %s to %s\n", argv[1], argv[0]);
|
printf("Sending queries for %s to %s\n", argv[1], argv[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user