7488006
diff -up rancid-3.13/configure.ac.no-ping-test rancid-3.13/configure.ac
7488006
--- rancid-3.13/configure.ac.no-ping-test	2020-10-02 12:51:17.000000000 -0400
7488006
+++ rancid-3.13/configure.ac	2021-03-08 10:30:51.630729052 -0500
7488006
@@ -353,24 +353,24 @@ fi
7488006
 # ping seems to take one of two formats for count (N)
7488006
 # BSD: ping -c N host
7488006
 # SVR: ping host N
7488006
-$PING_PATH -c 1 -v 127.0.0.1 > /dev/null 2>&1
7488006
-if test $? -eq 0 ; then
7488006
+#$PING_PATH -c 1 -v 127.0.0.1 > /dev/null 2>&1
7488006
+#if test $? -eq 0 ; then
7488006
     LG_PING_CMD="$PING_PATH -c 1"
7488006
-else
7488006
-    $PING_PATH 127.0.0.1 56 1 > /dev/null 2>&1
7488006
-    if test $? -eq 0 ; then
7488006
-	LG_PING_CMD="$PING_PATH"
7488006
-    else
7488006
-	# cygwin using windows ping?
7488006
-	$PING_PATH -n 1 127.0.0.1 > /dev/null 2>&1
7488006
-	if test $? -eq 0 ; then
7488006
-	    LG_PING_CMD="$PING_PATH -n 1" 
7488006
-	else
7488006
-            AC_MSG_ERROR([can't figure out how to pass count == 1 to $PING_PATH.])
7488006
-	    exit 1
7488006
-	fi
7488006
-    fi
7488006
-fi
7488006
+#else
7488006
+#    $PING_PATH 127.0.0.1 56 1 > /dev/null 2>&1
7488006
+#    if test $? -eq 0 ; then
7488006
+#	LG_PING_CMD="$PING_PATH"
7488006
+#    else
7488006
+#	# cygwin using windows ping?
7488006
+#	$PING_PATH -n 1 127.0.0.1 > /dev/null 2>&1
7488006
+#	if test $? -eq 0 ; then
7488006
+#	    LG_PING_CMD="$PING_PATH -n 1" 
7488006
+#	else
7488006
+#            AC_MSG_ERROR([can't figure out how to pass count == 1 to $PING_PATH.])
7488006
+#	    exit 1
7488006
+#	fi
7488006
+#    fi
7488006
+#fi
7488006
 AC_SUBST(LG_PING_CMD)
7488006
 rd_cv_lg_ping_cmd=$LG_PING_CMD
7488006
 
7488006
diff -up rancid-3.13/configure.no-ping-test rancid-3.13/configure
7488006
--- rancid-3.13/configure.no-ping-test	2020-10-02 14:41:02.000000000 -0400
7488006
+++ rancid-3.13/configure	2021-03-08 10:31:41.711878332 -0500
7488006
@@ -5500,24 +5500,24 @@ fi
7488006
 # ping seems to take one of two formats for count (N)
7488006
 # BSD: ping -c N host
7488006
 # SVR: ping host N
7488006
-$PING_PATH -c 1 -v 127.0.0.1 > /dev/null 2>&1
7488006
-if test $? -eq 0 ; then
7488006
+#$PING_PATH -c 1 -v 127.0.0.1 > /dev/null 2>&1
7488006
+#if test $? -eq 0 ; then
7488006
     LG_PING_CMD="$PING_PATH -c 1"
7488006
-else
7488006
-    $PING_PATH 127.0.0.1 56 1 > /dev/null 2>&1
7488006
-    if test $? -eq 0 ; then
7488006
-	LG_PING_CMD="$PING_PATH"
7488006
-    else
7488006
-	# cygwin using windows ping?
7488006
-	$PING_PATH -n 1 127.0.0.1 > /dev/null 2>&1
7488006
-	if test $? -eq 0 ; then
7488006
-	    LG_PING_CMD="$PING_PATH -n 1"
7488006
-	else
7488006
-            as_fn_error $? "can't figure out how to pass count == 1 to $PING_PATH." "$LINENO" 5
7488006
-	    exit 1
7488006
-	fi
7488006
-    fi
7488006
-fi
7488006
+#else
7488006
+#    $PING_PATH 127.0.0.1 56 1 > /dev/null 2>&1
7488006
+#    if test $? -eq 0 ; then
7488006
+#	LG_PING_CMD="$PING_PATH"
7488006
+#    else
7488006
+#	# cygwin using windows ping?
7488006
+#	$PING_PATH -n 1 127.0.0.1 > /dev/null 2>&1
7488006
+#	if test $? -eq 0 ; then
7488006
+#	    LG_PING_CMD="$PING_PATH -n 1"
7488006
+#	else
7488006
+#            as_fn_error $? "can't figure out how to pass count == 1 to $PING_PATH." "$LINENO" 5
7488006
+#	    exit 1
7488006
+#	fi
7488006
+#    fi
7488006
+#fi
7488006
 
7488006
 rd_cv_lg_ping_cmd=$LG_PING_CMD
7488006