Fix IPv6 error message

This commit is contained in:
Mike Cifelli 2021-12-31 14:03:24 -05:00
parent 46b65a481a
commit a14baf0ac5

View File

@ -14,7 +14,7 @@ class WifiKeepalive:
self.initialDelay = INITIAL_DELAY_IN_SECONDS self.initialDelay = INITIAL_DELAY_IN_SECONDS
self.pingInterval = PING_INTERVAL_IN_SECONDS self.pingInterval = PING_INTERVAL_IN_SECONDS
self.isConnected = False 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.connectedMessage = 'Connected to Wifi'
self.disconnectedMessage = 'No Wifi Connection' self.disconnectedMessage = 'No Wifi Connection'