try update pac ip address

This commit is contained in:
Peter Hormanns 2022-07-29 14:27:53 +02:00
parent bc4b6a4965
commit 4c89c31575

View File

@ -80,6 +80,9 @@ public class PacRemote extends AbstractRemote {
curINetAddr = new INetAddress(inetAddrString);
pac.setCurINetAddr(curINetAddr);
}
if (curINetAddr != null && curINetAddr.getInet4Addr() != null && assertNotNull(inetAddrString) && !curINetAddr.getInet4Addr().equals(inetAddrString)) {
curINetAddr = new INetAddress(inetAddrString);
}
Customer customer = pac.getCustomer();
String memberCode = (String) setParams.get("customer");
if (customer == null && assertNotNull(memberCode)) {