diff --git a/ssdp.py b/ssdp.py index ff10927..2c07c3b 100644 --- a/ssdp.py +++ b/ssdp.py @@ -44,12 +44,12 @@ msearch_data = self.ParseSSDPDiscovery(datagram) if msearch_data.get('discovery_type'): self.logger.debug('Received SSDP M-SEARCH for %s from %s', - msearch_data.get('discovery_type'), address[0]) + msearch_data.get('discovery_type'), ':'.join(address)) else: - self.logger.debug('Received SSDP M-SEARCH from %s', address[0]) + self.logger.debug('Received SSDP M-SEARCH from %s', ':'.join(address)) if msearch_data.get('discovery_type') == 'MediaServer': - self.logger.info('Sending SSDP response to %s', address[0]) + self.logger.info('Sending SSDP response to %s', ':'.join(address)) self.SendSSDPResponse(address) def ParseSSDPDiscovery(self, datagram):