From 410e66ddcca03198394dbb27ae237242cee446f9 Mon Sep 17 00:00:00 2001 From: David Schweikert Date: Tue, 31 Dec 2019 18:00:29 +0100 Subject: [PATCH] fix usage of open_ping_socket_ipv4/6 --- src/fping.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")) { -- 2.43.0