From 2047b2b31f53bc2e02f40eb86d10f1e7c403a8ff Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 30 Sep 2010 08:35:33 +0200 Subject: [PATCH] network plugin: Increase default buffer size to 1452. --- src/collectd.conf.pod | 2 +- src/network.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 4b7a2e34..8481a542 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -2626,7 +2626,7 @@ operating systems. =item B I<1024-65535> Set the maximum size for datagrams received over the network. Packets larger -than this will be truncated. +than this will be truncated. Defaults to 1452Ebytes. =item B I diff --git a/src/network.c b/src/network.c index 73e6d92d..9ca2eeea 100644 --- a/src/network.c +++ b/src/network.c @@ -258,7 +258,7 @@ typedef struct receive_list_entry_s receive_list_entry_t; * Private variables */ static int network_config_ttl = 0; -static size_t network_config_packet_size = 1024; +static size_t network_config_packet_size = 1452; static int network_config_forward = 0; static int network_config_stats = 0; -- 2.30.2