Probleme mit INetAddr

This commit is contained in:
Peter Hormanns 2011-05-19 18:16:11 +00:00
parent ebf2e0d8ee
commit f8fb5d31e4

View File

@ -63,7 +63,7 @@ public class PacRemote extends AbstractRemote {
pac.setCreated(new Date());
INetAddress curINetAddr = pac.getCurINetAddr();
String inetAddrString = setParams.get("curinetaddr");
if (curINetAddr == null && assertNotNull(inetAddrString)) {
if ((curINetAddr == null || curINetAddr.getInetAddr() == null) && assertNotNull(inetAddrString)) {
curINetAddr = new INetAddress(inetAddrString);
pac.setCurINetAddr(curINetAddr);
}