diff --git a/hsarback/src/de/hsadmin/remote/PacRemote.java b/hsarback/src/de/hsadmin/remote/PacRemote.java index 3de8a4a..676ec18 100644 --- a/hsarback/src/de/hsadmin/remote/PacRemote.java +++ b/hsarback/src/de/hsadmin/remote/PacRemote.java @@ -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); }