components/snort/patches/snort.c.patch
changeset 7650 2e39c59b83f8
parent 2198 168b8acace5f
equal deleted inserted replaced
7649:69d7508f0d66 7650:2e39c59b83f8
    41 To resolve this, at snort initialization time on Solaris, the code has
    41 To resolve this, at snort initialization time on Solaris, the code has
    42 been adjusted to specify a single default DAQ module directory:
    42 been adjusted to specify a single default DAQ module directory:
    43 
    43 
    44   /usr/lib/64/daq
    44   /usr/lib/64/daq
    45 
    45 
    46 --- src/snort.c.orig	2014-09-25 07:53:43.356728058 -0700
    46 --- snort-2.9.9.0/src/snort.c.orig	2017-01-25 10:28:13.663208245 +0000
    47 +++ src/snort.c	2014-09-25 07:55:05.650780347 -0700
    47 +++ snort-2.9.9.0/src/snort.c	2017-01-25 10:29:22.601448936 +0000
    48 @@ -4039,6 +4039,9 @@
    48 @@ -4190,6 +4190,9 @@
    49  {
    49  {
    50      SnortConfig *sc = (SnortConfig *)SnortAlloc(sizeof(SnortConfig));
    50      SnortConfig *sc = (SnortConfig *)SnortAlloc(sizeof(SnortConfig));
    51  
    51  
    52 +    /* Define where to look for DAQ modules. */
    52 +    /* Define where to look for DAQ modules. */
    53 +    ConfigDaqDir(sc, "/usr/lib/64/daq");
    53 +    ConfigDaqDir(sc, "/usr/lib/64/daq");