network plugin: Increase default buffer size to 1452.
authorFlorian Forster <octo@huhu.verplant.org>
Thu, 30 Sep 2010 06:35:33 +0000 (08:35 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Thu, 30 Sep 2010 06:36:01 +0000 (08:36 +0200)
src/collectd.conf.pod
src/network.c

index 4b7a2e3..8481a54 100644 (file)
@@ -2626,7 +2626,7 @@ operating systems.
 =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>
 
index 73e6d92..9ca2eee 100644 (file)
@@ -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;