diff --git a/wpaspy/wpaspy.py b/wpaspy/wpaspy.py index 809b4ce00..c2aace0f4 100644 --- a/wpaspy/wpaspy.py +++ b/wpaspy/wpaspy.py @@ -44,6 +44,7 @@ class Ctrl: raise else: try: + self.s = None ai_list = socket.getaddrinfo(path, port, socket.AF_INET, socket.SOCK_DGRAM) for af, socktype, proto, cn, sockaddr in ai_list: