aboutsummaryrefslogtreecommitdiff
path: root/src/dns
diff options
context:
space:
mode:
authorpsyc://loupsycedyglgamf.onion/~lynX <BM-NB7xa9gEpmJgYp9PVnEdACiZcGmmEJcY>2017-02-02 09:21:55 +0000
committerpsyc://loupsycedyglgamf.onion/~lynX <BM-NB7xa9gEpmJgYp9PVnEdACiZcGmmEJcY>2017-02-02 09:21:55 +0000
commit9c25b4dcb6f63c2febb37a9e8f736bf100928043 (patch)
tree4b14110ecc7153ee158b22d85a302be3ad6210c9 /src/dns
parent761447f2122038ce821780f6de37e5355f0ee301 (diff)
downloadgnunet-9c25b4dcb6f63c2febb37a9e8f736bf100928043.tar.gz
gnunet-9c25b4dcb6f63c2febb37a9e8f736bf100928043.zip
find /bin/ip
Diffstat (limited to 'src/dns')
-rw-r--r--src/dns/gnunet-helper-dns.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dns/gnunet-helper-dns.c b/src/dns/gnunet-helper-dns.c
index 1c5744002..d083a9df2 100644
--- a/src/dns/gnunet-helper-dns.c
+++ b/src/dns/gnunet-helper-dns.c
@@ -794,6 +794,8 @@ main (int argc, char *const*argv)
794 sbin_ip = "/sbin/ip"; 794 sbin_ip = "/sbin/ip";
795 else if (0 == access ("/usr/sbin/ip", X_OK)) 795 else if (0 == access ("/usr/sbin/ip", X_OK))
796 sbin_ip = "/usr/sbin/ip"; 796 sbin_ip = "/usr/sbin/ip";
797 else if (0 == access ("/bin/ip", X_OK)) /* gentoo has it there */
798 sbin_ip = "/bin/ip";
797 else 799 else
798 { 800 {
799 fprintf (stderr, 801 fprintf (stderr,