From: Eric Leblond Date: Mon, 3 Sep 2012 14:57:21 +0000 (+0200) Subject: af-packet: fix build on systems without AF_PACKET X-Git-Tag: suricata-1.4beta1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0a2aefc78ad7cc96e9542d7b8f174f23f8759d5;p=thirdparty%2Fsuricata.git af-packet: fix build on systems without AF_PACKET --- 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)