]> git.ipfire.org Git - thirdparty/suricata.git/commit
af-packet: terminate on same interface & copyiface 9391/head
authorShivani Bhardwaj <shivani@oisf.net>
Thu, 10 Aug 2023 12:17:35 +0000 (17:47 +0530)
committerShivani Bhardwaj <shivanib134@gmail.com>
Thu, 17 Aug 2023 06:20:13 +0000 (11:50 +0530)
commitb46bccf3576f30d4eb342716fd56f7179b0cf160
tree28d8ab74623c655e038cd4f7b5cfa202ceafb956
parent9c90d0171759a810bba4d634de1da2f46ef36ecf
af-packet: terminate on same interface & copyiface

If the interface and copy-iface are same for an af-packet IPS device
setting then fataly exit else it leads to a segfault in later stages.

Bug 5870

(cherry picked from commit d4dd53c95f5fe30a0b2a1e71ab185c06c71a1afe)
src/runmode-af-packet.c