1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-22 10:37:59 +01:00

Fix IPAddressUtil.isIPv4LiteralAddress(String)

Fixes SMACK-791
This commit is contained in:
Florian Schmaus 2017-12-16 12:36:02 +01:00
parent 63dd9953fc
commit 5147f6e915

View file

@ -29,7 +29,7 @@ public class IpAddressUtil {
return false;
}
for (int i = 0; i < 3; i++) {
for (int i = 1; i <= 4; i++) {
String ipSegment = matcher.group(i);
int ipSegmentInt;
try {