mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 14:22:05 +01:00
Fix IPAddressUtil.isIPv4LiteralAddress(String)
Fixes SMACK-791
This commit is contained in:
parent
63dd9953fc
commit
5147f6e915
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue