mirror of
https://github.com/JoelBender/bacpypes
synced 2025-10-27 00:57:47 +08:00
patch applied
This commit is contained in:
@@ -102,6 +102,7 @@ class UDPMultiplexer:
|
||||
bind(self.direct, self.broadcastPort)
|
||||
else:
|
||||
self.broadcast = None
|
||||
self.broadcastPort = None
|
||||
|
||||
# create and bind the Annex H and J servers
|
||||
self.annexH = _MultiplexServer(self)
|
||||
@@ -112,8 +113,10 @@ class UDPMultiplexer:
|
||||
|
||||
# pass along the close to the director(s)
|
||||
self.directPort.close_socket()
|
||||
self.directPort.close()
|
||||
if self.broadcastPort:
|
||||
self.broadcastPort.close_socket()
|
||||
self.broadcastPort.close()
|
||||
|
||||
def indication(self, server, pdu):
|
||||
if _debug: UDPMultiplexer._debug("indication %r %r", server, pdu)
|
||||
|
||||
Reference in New Issue
Block a user