File nrpe-3.2.1_packetbuffer.patch of Package nrpe

--- include/common.h.in.orig	2020-02-05 10:37:52.510512518 +0100
+++ include/common.h.in	2020-02-05 10:38:25.974694039 +0100
@@ -55,7 +55,7 @@
 #define DEFAULT_SOCKET_TIMEOUT		10		/* timeout after 10 seconds */
 #define DEFAULT_CONNECTION_TIMEOUT	300		/* timeout if daemon is waiting for connection more than this time */
 
-#define MAX_INPUT_BUFFER			2048	/* max size of most buffers we use */
+#define MAX_INPUT_BUFFER			8192	/* max size of most buffers we use */
 #define MAX_FILENAME_LENGTH			256
 #define MAX_HOST_ADDRESS_LENGTH		256		/* max size of a host address */
 #define MAX_COMMAND_ARGUMENTS		16
@@ -70,7 +70,7 @@
 #define NRPE_PACKET_VERSION_2		2
 #define NRPE_PACKET_VERSION_1		1		/* older packet version identifiers (no longer supported) */
 
-#define MAX_PACKETBUFFER_LENGTH		1024	/* amount of data to send in one query/response vor version 2 */
+#define MAX_PACKETBUFFER_LENGTH		8192	/* amount of data to send in one query/response vor version 2 */
 
 typedef struct _v2_packet {
 	int16_t		packet_version;
openSUSE Build Service is sponsored by