]> git.gsnw.org Git - fping.git/commitdiff
fix usage of open_ping_socket_ipv4/6
authorDavid Schweikert <david@schweikert.ch>
Tue, 31 Dec 2019 17:00:29 +0000 (18:00 +0100)
committerDavid Schweikert <david@schweikert.ch>
Tue, 31 Dec 2019 17:00:29 +0000 (18:00 +0100)
src/fping.c

index d9e26354af9cd86699806bf74ce0fa4ddfb42d01..d36d6c57e080f14bbf25c94824d1f5caaf25aa97 100644 (file)
@@ -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")) {