diff --git a/src/util-ip.h b/src/util-ip.h index c5ba35b562..e0cb6a9403 100644 --- a/src/util-ip.h +++ b/src/util-ip.h @@ -25,6 +25,9 @@ #ifndef SURICATA_UTIL_IP_H #define SURICATA_UTIL_IP_H +#define SC_IPV4_LEN 4 +#define SC_IPV6_LEN 16 + bool IPv4AddressStringIsValid(const char *str); bool IPv6AddressStringIsValid(const char *str); struct in_addr *ValidateIPV4Address(const char *);