mirror of https://github.com/OISF/suricata
datasets: accept standard IPv4 notation for ip type
The internal type set for datasets of type IP is IPv6, however, the expectation is that it'll support IPv6, standard IPv4 as well as IPv4 in IPv6 notation. A regression happened during the conversion of datasets parsing to rust wherein standard IPv4 was rejected with IP type. Fix that by handling IPv4 standard notation in IPv6 handler. Fixes:pull/16367/headbc79300dfa("datasets: move initial file reading to rust") Ticket: 9006 (cherry picked from commit8b379a3b04)
parent
943ad0a531
commit
b502742db7
Loading…
Reference in New Issue