diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
commit | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (patch) | |
tree | b690ddc0ca30f1472887edbb0b8313629bfcbbb2 /net-analyzer/snort/files | |
parent | b17a3ef12038de50228bade1f05502c74e135321 (diff) |
gentoo resync : 16.09.2020
Diffstat (limited to 'net-analyzer/snort/files')
-rw-r--r-- | net-analyzer/snort/files/snort-2.9.15.1-fno-common.patch | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/net-analyzer/snort/files/snort-2.9.15.1-fno-common.patch b/net-analyzer/snort/files/snort-2.9.15.1-fno-common.patch index 9fe39933ddfe..f5e3b3bbe34a 100644 --- a/net-analyzer/snort/files/snort-2.9.15.1-fno-common.patch +++ b/net-analyzer/snort/files/snort-2.9.15.1-fno-common.patch @@ -29,11 +29,13 @@ void InitJSNormLookupTable(void); --- a/src/preprocessors/spp_session.h +++ b/src/preprocessors/spp_session.h -@@ -28,6 +28,8 @@ +@@ -28,6 +28,10 @@ #include "decode.h" #include "session_common.h" ++#ifdef PERF_PROFILING +extern PreprocStats sessionPerfStats; ++#endif + /* list of function prototypes for this preprocessor */ void SetupSessionManager(void); @@ -97,10 +99,12 @@ --- a/src/detection-plugins/sp_session.h +++ b/src/detection-plugins/sp_session.h -@@ -29,5 +29,6 @@ +@@ -29,5 +29,8 @@ void SetupSession(void); uint32_t SessionHash(void *d); int SessionCompare(void *l, void *r); ++#ifdef PERF_PROFILING +extern PreprocStats sp_sessionPerfStats; ++#endif #endif /* __SP_SESSION_H__ */ |