Converter ClientSstreaming: remove kludgy ipv4-in-ipv6 address replacement.
authorErik Slagter <erik@openpli.org>
Thu, 17 Dec 2015 21:14:25 +0000 (22:14 +0100)
committerErik Slagter <erik@openpli.org>
Thu, 17 Dec 2015 21:14:25 +0000 (22:14 +0100)
The ipv4-in-ipv6 address starting with ::ffff: is already cleaned up in
the C++ code now.

lib/python/Components/Converter/ClientsStreaming.py

index 159f57f..8b690e2 100644 (file)
@@ -48,12 +48,10 @@ class ClientsStreaming(Converter, Poll, object):
                        servicename = ServiceReference(x[1]).getServiceName() or ""
                        service_name = servicename
                        names.append((service_name))
-                       if '::ffff:' in x[0]:
-                               ip = 'ipv6'
-                               ips.append((ip))
-                       else:
-                               ip = x[0]#[7:]
-                               ips.append((ip))
+                       ip = x[0]
+
+                       ips.append((ip))
+
                        if int(x[2]) == 0:
                                encoder = _('NO')
                        else: