From b0a2aefc78ad7cc96e9542d7b8f174f23f8759d5 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Mon, 3 Sep 2012 16:57:21 +0200 Subject: [PATCH] af-packet: fix build on systems without AF_PACKET --- src/suricata.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/suricata.c b/src/suricata.c index 521dc3ce75..fe89968c44 100644 --- a/src/suricata.c +++ b/src/suricata.c @@ -2015,7 +2015,9 @@ int main(int argc, char **argv) TmqhCleanup(); TmModuleRunDeInit(); +#ifdef HAVE_AF_PACKET AFPPeersListClean(); +#endif #ifdef PROFILING if (profiling_rules_enabled)