]> git.ipfire.org Git - thirdparty/suricata.git/commit
datasets: fix parsing of ip4 in ip6 11698/head
authorEric Leblond <el@stamus-networks.com>
Fri, 19 Apr 2024 15:07:48 +0000 (17:07 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 2 Sep 2024 14:39:29 +0000 (16:39 +0200)
commit0f3a37acaad7c3bb28ed3e24af70fb3757092136
treeb9045aa1652b83477ffc1d4c1283d4781e1d4658
parent37ec6251e9d8035a0d72fc6009b53b18a437259d
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
(cherry picked from commit 4668c955134082c079ea7b54ac6a029b7321641e)
src/datasets.c