diff --git a/src/util-ip.c b/src/util-ip.c index 7b568986fb..be127327ed 100644 --- a/src/util-ip.c +++ b/src/util-ip.c @@ -53,7 +53,7 @@ bool IPv4AddressStringIsValid(const char *str) dots++; alen = 0; } else { - if (alen >= 4) { + if (alen >= 3) { SCLogDebug("too long"); return false; }