[ULOGD PATCH 7/9] Add a lacking newline in buffer overrun messages.

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

 



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

diff --git a/input/flow/ulogd_inpflow_NFCT.c b/input/flow/ulogd_inpflow_NFCT.c
index 20d0da1..e99f41a 100644
--- a/input/flow/ulogd_inpflow_NFCT.c
+++ b/input/flow/ulogd_inpflow_NFCT.c
@@ -699,7 +699,7 @@ static int setnlbufsiz(struct ulogd_pluginstance *upi, int size)
 				"reached. Please, consider rising "
 				"`netlink_socket_buffer_size` and "
 				"`netlink_socket_buffer_maxsize` "
-				"clauses.", cpi->nlbufsiz);
+				"clauses.\n", cpi->nlbufsiz);
 	return 0;
 }
 
@@ -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'");
+					  "`netlink_socket_buffer_maxsize'\n");
 			}
 
 			nfct_send(cpi->ovh, NFCT_Q_DUMP, &family);
diff --git a/input/packet/ulogd_inppkt_NFLOG.c b/input/packet/ulogd_inppkt_NFLOG.c
index 8d08bd8..8c2aab6 100644
--- a/input/packet/ulogd_inppkt_NFLOG.c
+++ b/input/packet/ulogd_inppkt_NFLOG.c
@@ -401,7 +401,7 @@ static int setnlbufsiz(struct ulogd_pluginstance *upi, int size)
 				"reached. Please, consider rising "
 				"`netlink_socket_buffer_size` and "
 				"`netlink_socket_buffer_maxsize` "
-				"clauses.", ui->nlbufsiz);
+				"clauses.\n", ui->nlbufsiz);
 	return 0;
 }
 
@@ -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'");
+					  "`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