summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5821700)
raw | patch | inline | side by side (parent: 5821700)
author | Florian Forster <octo@huhu.verplant.org> | |
Thu, 30 Sep 2010 06:35:33 +0000 (08:35 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Thu, 30 Sep 2010 06:36:01 +0000 (08:36 +0200) |
src/collectd.conf.pod | patch | blob | history | |
src/network.c | patch | blob | history |
diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod
index 4b7a2e34eb44b9cf8cdc11ad2dd87df977eb4123..8481a542c9b6e7e38189876354f4158c06745a75 100644 (file)
--- a/src/collectd.conf.pod
+++ b/src/collectd.conf.pod
=item B<MaxPacketSize> 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 1452E<nbsp>bytes.
=item B<Forward> I<true|false>
diff --git a/src/network.c b/src/network.c
index 73e6d92d2cf197cd55175b6fc8ee9a0c24b55915..9ca2eeeacbfd393768af4b1feb0b7fbb9e9cfd70 100644 (file)
--- a/src/network.c
+++ b/src/network.c
* 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;