If devices share the same friendly name, duplicates are discarded. This commit fixes the problem and shows all devices.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1309342 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole-plugins/upnp/src/main/java/org/apache/felix/webconsole/plugins/upnp/internal/ConfigurationPrinterImpl.java b/webconsole-plugins/upnp/src/main/java/org/apache/felix/webconsole/plugins/upnp/internal/ConfigurationPrinterImpl.java
index f2a5a9f..05b65c5 100644
--- a/webconsole-plugins/upnp/src/main/java/org/apache/felix/webconsole/plugins/upnp/internal/ConfigurationPrinterImpl.java
+++ b/webconsole-plugins/upnp/src/main/java/org/apache/felix/webconsole/plugins/upnp/internal/ConfigurationPrinterImpl.java
@@ -67,7 +67,7 @@
             if (null != ref.getProperty(UPnPDevice.UDN)) // make sure device is valid

             {

                 // order components by friendly name

-                componentMap.put(nameOf(ref), ref);

+                componentMap.put(nameOf(ref).toString() + ref.getProperty(SERVICE_ID), ref);

             }

         }