diff options
author | David Heidelberg <david@ixit.cz> | 2016-09-12 13:38:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-12 13:38:40 +0200 |
commit | 79f1069e5ab90a9223f36e53ceb4f3fba06fd4e6 (patch) | |
tree | bfb2ee39c4918c4d1f8b7a7ebffbd0e55e13633a | |
parent | c20a3a5ee3857d991a05501a48479dc73021fb50 (diff) | |
parent | 6702a95f2ea1a6a5b7c94437a87c1be6d0677733 (diff) | |
download | iputils-79f1069e5ab90a9223f36e53ceb4f3fba06fd4e6.tar.gz |
Merge pull request #65 from jsynacek/ping-eacces-fix
-rw-r--r-- | ping.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -655,7 +655,8 @@ int ping4_run(int argc, char **argv, struct addrinfo *ai, socket_st *sock) if (connect(probe_fd, (struct sockaddr*)&dst, sizeof(dst)) == -1) { if (errno == EACCES) { if (broadcast_pings == 0) { - fprintf(stderr, "Do you want to ping broadcast? Then -b\n"); + fprintf(stderr, + "Do you want to ping broadcast? Then -b. If not, check your local firewall rules.\n"); exit(2); } fprintf(stderr, "WARNING: pinging broadcast address\n"); |