Code

network: set ttl before opening server sockets
authorTim Laszlo <Tim.Laszlo@magnetar.com>
Fri, 20 Jun 2014 14:00:43 +0000 (09:00 -0500)
committerTim Laszlo <Tim.Laszlo@magnetar.com>
Fri, 20 Jun 2014 14:00:43 +0000 (09:00 -0500)
commit8fe384e8d02d6cc1360113828f3ef3a34c24c3f8
treefb1a9ac646fde6242b157ae1f4fc09fcb819ffd6
parent873ee04392be176051a22ad09ae1ae2fa224bfc7
network: set ttl before opening server sockets

If TimeToLive is defined in collectd.conf after Server options, the
net_config_ttl value is updated after network_config_add_server and
the desired ttl is not used.
src/network.c