Bump mdsal to 5.0.2
[netconf.git] / netconf / netconf-topology-singleton / src / main / java / org / opendaylight / netconf / topology / singleton / impl / utils / NetconfTopologyUtils.java
index 48cf0591499a65e87cb7abb897eaa99cfccae50d..022005d6f5612304d5c636dd39d21d06a19f4175 100644 (file)
@@ -214,7 +214,7 @@ public final class NetconfTopologyUtils {
         final IpAddress ipAddress = node.getHost().getIpAddress();
         final InetSocketAddress address = new InetSocketAddress(ipAddress.getIpv4Address() != null
                 ? ipAddress.getIpv4Address().getValue() : ipAddress.getIpv6Address().getValue(),
-                node.getPort().getValue());
+                node.getPort().getValue().toJava());
         return new RemoteDeviceId(nodeId.getValue(), address);
     }