This commit is contained in:
Kovid Goyal 2017-10-27 13:37:33 +05:30
commit 8bfeac7440
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1937,6 +1937,7 @@ class SMART_DEVICE_APP(DeviceConfig, DevicePlugin):
try: try:
self.broadcast_socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) self.broadcast_socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
set_socket_inherit(self.broadcast_socket, False)
except: except:
message = 'creation of broadcast socket failed. This is not fatal.' message = 'creation of broadcast socket failed. This is not fatal.'
self._debug(message) self._debug(message)