cnping

Minimal Graphical Ping Tool
git clone https://git.sinitax.com/cnlohr/cnping
Log | Files | Refs | Submodules | README | LICENSE | sfeed.txt

commit f30fd0b4b0f13e202eac02b378b150bbc182ab29
parent 075f5b427eb64789662cdfac3f7745884261b8b8
Author: mrbesen <y.g.2@gmx.de>
Date:   Sat, 20 Aug 2022 10:55:12 +0200

Edit error message of setsockopt in HTTP-Ping (root wont help)

Diffstat:
Mhttping.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/httping.c b/httping.c @@ -102,7 +102,7 @@ reconnect: { if( setsockopt(httpsock, SOL_SOCKET, SO_BINDTODEVICE, device, strlen(device) +1) != 0) { - ERRM("Error: Failed to set Device option. Are you root? Or can do sock_raw sockets?\n"); + ERRM("Error: Failed to set Device option.\n"); exit( -1 ); } }