From a14baf0ac587ec03e44cfda44101a42677692d71 Mon Sep 17 00:00:00 2001 From: Mike Cifelli <1836280-mike-cifelli@users.noreply.gitlab.com> Date: Fri, 31 Dec 2021 14:03:24 -0500 Subject: [PATCH] Fix IPv6 error message --- wifi-keepalive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wifi-keepalive.py b/wifi-keepalive.py index 514f4dd..14d1722 100644 --- a/wifi-keepalive.py +++ b/wifi-keepalive.py @@ -14,7 +14,7 @@ class WifiKeepalive: self.initialDelay = INITIAL_DELAY_IN_SECONDS self.pingInterval = PING_INTERVAL_IN_SECONDS self.isConnected = False - self.pingCommand = 'ping -c 1 -W 2 -n' + self.pingCommand = 'ping -4 -c 1 -W 2 -n' self.connectedMessage = 'Connected to Wifi' self.disconnectedMessage = 'No Wifi Connection'