snort/snort.patch

Thu, 04 Oct 2012 20:08:55 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 04 Oct 2012 20:08:55 +0200
changeset 711
e5faec28ec63
permissions
-rw-r--r--

Back out changes in 2.17.3:rateup.c disabling unit abbreviation.
Even when properly specifying 'kMG', the weekly, monthly, and yearly
graphs would not include abbreviated (with kMG postfix) values but
instead a very long figure such as '12000000.0 k' in the short legend.
The daily graphs don't suffer this problem, more research is needed.

     1 Index: src/snort.h
     2 --- src/snort.h.orig	2009-09-14 21:12:14 +0200
     3 +++ src/snort.h	2009-09-19 09:27:59 +0200
     4 @@ -92,7 +92,7 @@
     5  #define RF_ANY_FLAGS  0x20
     7  #ifndef WIN32
     8 -# define DEFAULT_LOG_DIR            "/var/log/snort"
     9 +# define DEFAULT_LOG_DIR            "@l_prefix@/var/snort"
    10  # define DEFAULT_DAEMON_ALERT_FILE  "alert"
    11  #else
    12  # define DEFAULT_LOG_DIR            "log"

mercurial