From 24a66507871884203229bee9da29ae53c872103e Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Sat, 25 Jan 2014 12:26:38 +0100 Subject: db: set ring default size to 0 As default size was non null, the ring system was activated by default. It was only possible to desactivate the ring system by setting it to ring_buffer_size to 0 in the configuration. This was not the attended behavior. This patch set it to 0 to have only explicit activation of the ring feature. --- include/ulogd/db.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ulogd/db.h') diff --git a/include/ulogd/db.h b/include/ulogd/db.h index e9b054b..9f9e96d 100644 --- a/include/ulogd/db.h +++ b/include/ulogd/db.h @@ -65,7 +65,7 @@ struct db_instance { #define TIME_ERR ((time_t)-1) /* Be paranoid */ #define RECONNECT_DEFAULT 2 #define MAX_ONESHOT_REQUEST 10 -#define RING_BUFFER_DEFAULT_SIZE 10 +#define RING_BUFFER_DEFAULT_SIZE 0 #define DB_CES \ { \ -- cgit v1.2.3