pkgsrc/net/coherence/patches/patch-aa
drochner 57d126f263 add coherence-0.6.4, an UPnP media server framework
(I had some partial success using it to connect "rhythmbox" to
a "mediatomb" media server.)
2009-07-08 17:20:50 +00:00

14 lines
512 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2009/07/08 17:20:50 drochner Exp $
--- coherence/upnp/core/event.py.orig 2009-03-29 22:27:52.000000000 +0200
+++ coherence/upnp/core/event.py
@@ -372,7 +372,8 @@ def send_notification(s, xml):
if path == '':
path = '/'
if host_port.find(':') != -1:
- host,port = tuple(host_port.split(':'))
+ # XXX deal with IPv6 addresses correctly
+ host,port = tuple(host_port.rsplit(':', 1))
port = int(port)
else:
host = host_port