@ -3,7 +3,7 @@ dnl Process this file with autoconf to produce a configure script.
dnl Minimum Autoconf version required.
AC_PREREQ(2.59)
AC_INIT([fping],[4.0])
AC_INIT([fping],[4.1])
dnl --disable-ipv4
AC_ARG_ENABLE([ipv4],
@ -354,6 +354,7 @@ int main(int argc, char** argv)
/* pre-parse -h/--help, so that we also can output help information
* without trying to open the socket, which might fail */
prog = argv[0];
if(argc == 2 && ( strcmp(argv[1],"-h")==0 || strcmp(argv[1],"--help")==0 )) {
usage(0);
}
@ -369,7 +370,6 @@ int main(int argc, char** argv)
perror("cannot setuid");
optparse_init(&optparse_state, argv);
ident = getpid() & 0xFFFF;
verbose_flag = 1;