You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
683 B
15 lines
683 B
diff -u -r ../nmap-7.01/nmap_dns.cc ./nmap_dns.cc
|
|
--- ../nmap-7.01/nmap_dns.cc 2015-10-07 13:49:24.000000000 -0400
|
|
+++ ./nmap_dns.cc 2015-12-15 18:49:27.994641597 -0500
|
|
@@ -959,9 +959,9 @@
|
|
char fmt[32];
|
|
char ipaddr[INET6_ADDRSTRLEN+1];
|
|
|
|
- fp = fopen("/etc/resolv.conf", "r");
|
|
+ fp = fopen("@TERMUX_PREFIX@/etc/resolv.conf", "r");
|
|
if (fp == NULL) {
|
|
- if (firstrun) error("mass_dns: warning: Unable to open /etc/resolv.conf. Try using --system-dns or specify valid servers with --dns-servers");
|
|
+ if (firstrun) error("mass_dns: warning: Unable to open $PREFIX/etc/resolv.conf. Try using --system-dns or specify valid servers with --dns-servers");
|
|
return;
|
|
}
|
|
|
|
|