From: David Schweikert Date: Tue, 31 Dec 2019 17:00:29 +0000 (+0100) Subject: fix usage of open_ping_socket_ipv4/6 X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=410e66ddcca03198394dbb27ae237242cee446f9;p=fping.git fix usage of open_ping_socket_ipv4/6 --- diff --git a/src/fping.c b/src/fping.c index d9e2635..d36d6c5 100644 --- a/src/fping.c +++ b/src/fping.c @@ -358,9 +358,9 @@ int main(int argc, char** argv) usage(0); } - socket4 = open_ping_socket_ipv4(ping_data_size); + socket4 = open_ping_socket_ipv4(); #ifdef IPV6 - socket6 = open_ping_socket_ipv6(ping_data_size); + socket6 = open_ping_socket_ipv6(); /* if called (sym-linked) via 'fping6', imply '-6' * for backward compatibility */ if (strstr(prog, "fping6")) {