1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-22 21:16:07 +03:00

no working

This commit is contained in:
Bjorn Andersson 2006-06-11 20:02:26 +00:00
parent d81d1c8bd7
commit a8182ef8f1

View File

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