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'