diff --git a/bundles/org.openhab.core/src/main/java/org/openhab/core/net/CidrAddress.java b/bundles/org.openhab.core/src/main/java/org/openhab/core/net/CidrAddress.java index 052396883..0a142d6d0 100644 --- a/bundles/org.openhab.core/src/main/java/org/openhab/core/net/CidrAddress.java +++ b/bundles/org.openhab.core/src/main/java/org/openhab/core/net/CidrAddress.java @@ -46,7 +46,7 @@ public class CidrAddress { if (prefix == 0) { return address.getHostAddress(); } else { - return address.getHostAddress() + "/" + String.valueOf(prefix); + return address.getHostAddress() + "/" + prefix; } }