Merge "IpClient: fix in InitialConfiguration validation."
This commit is contained in:
@@ -524,7 +524,7 @@ public class IpClient extends StateMachine {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// There no more than one IPv4 address
|
// There no more than one IPv4 address
|
||||||
if (ipAddresses.stream().filter(Inet4Address.class::isInstance).count() > 1) {
|
if (ipAddresses.stream().filter(LinkAddress::isIPv4).count() > 1) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user