[ULOGD PATCH] Fix messages and indenting.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch fixes some messages in the NFCT and NFLOG input
plugin (end of line before quote). It also fixes indenting by
suppressing some spaces on empty line and replacing spaces by tab.

Signed-off-by: Eric Leblond <eric@xxxxxx>
---
 input/flow/ulogd_inpflow_NFCT.c   |    6 +++---
 input/packet/ulogd_inppkt_NFLOG.c |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/input/flow/ulogd_inpflow_NFCT.c b/input/flow/ulogd_inpflow_NFCT.c
index 2a44780..f28e3fa 100644
--- a/input/flow/ulogd_inpflow_NFCT.c
+++ b/input/flow/ulogd_inpflow_NFCT.c
@@ -46,7 +46,7 @@
 #include <libnetfilter_conntrack/libnetfilter_conntrack.h>
 
 typedef enum TIMES_ { START, STOP, __TIME_MAX } TIMES;
- 
+
 struct ct_timestamp {
 	struct timeval time[__TIME_MAX];
 	struct nf_conntrack *ct;
@@ -730,7 +730,7 @@ static int read_cb_nfct(int fd, unsigned int what, void *param)
 					  "We are losing events. Please, "
 					  "consider using the clauses "
 					  "`netlink_socket_buffer_size' and "
-					  "`netlink_socket_buffer_maxsize\n'");
+					  "`netlink_socket_buffer_maxsize'\n");
 			}
 			
 			/* internal hash can deal with refresh */
@@ -919,7 +919,7 @@ static int constructor_nfct(struct ulogd_pluginstance *upi)
 
 		cpi->ct_active =
 		     hashtable_create(buckets_ce(upi->config_kset).u.value,
-		     		      maxentries_ce(upi->config_kset).u.value,
+				      maxentries_ce(upi->config_kset).u.value,
 				      sizeof(struct ct_timestamp),
 				      hash,
 				      compare);
diff --git a/input/packet/ulogd_inppkt_NFLOG.c b/input/packet/ulogd_inppkt_NFLOG.c
index 0f26564..8c2aab6 100644
--- a/input/packet/ulogd_inppkt_NFLOG.c
+++ b/input/packet/ulogd_inppkt_NFLOG.c
@@ -434,7 +434,7 @@ static int nful_read_cb(int fd, unsigned int what, void *param)
 					  "We are losing events. Please, "
 					  "consider using the clauses "
 					  "`netlink_socket_buffer_size' and "
-					  "`netlink_socket_buffer_maxsize\n'");
+					  "`netlink_socket_buffer_maxsize'\n");
 			}
 		}
 		return len;
-- 
1.5.4.3

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux