DISABLE_UDP_CONNECT breaks example_code_2 test

A default MTU of 0 is meaningless and creating a collector will fail
as a result.
master
Nicholas Brown 2017-12-14 13:32:11 +00:00
parent 087635e3f6
commit 33652589bf
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ struct config myconfig = {
.coll_ip4_addr = DEFAULT_COLLECTOR_IP_ADDRESS,
.coll_port = 0,
.transport_protocol = UDP,
.mtu = 0,
.mtu = 1492, // Maximum IP on ethernet transmission unit size
.peer_fqdn = 0,
.certificate_chain_file = 0,
.private_key_file = 0,