]> git.ipfire.org Git - thirdparty/suricata.git/commit
datasets: fix parsing of ip4 in ip6
authorEric Leblond <el@stamus-networks.com>
Fri, 19 Apr 2024 15:07:48 +0000 (17:07 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 30 Aug 2024 13:19:00 +0000 (15:19 +0200)
commit4668c955134082c079ea7b54ac6a029b7321641e
tree76e7611f301894a3433b50909f57b390f15e206a
parenta32b68985f3d96476386364e98530152bc9a1514
datasets: fix parsing of ip4 in ip6

The lookup function was not taking into account that we can have
an IPv4 or an IPv6 address as parameters and that this addresses
need to be converted to Suricata internal storage.
By using the already defined dedicated parsing function, we are
fixing the issue.

Issue: #6969
src/datasets.c