From fb2742be4ab8868f67f563e0381ea98f1f0a8d87 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 19 Mar 2009 09:40:29 +0100 Subject: [PATCH] network plugin: Improve a debugging message. --- src/network.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/network.c b/src/network.c index 9e391bb2..c996b078 100644 --- a/src/network.c +++ b/src/network.c @@ -869,11 +869,12 @@ static void free_sockent (sockent_t *se) */ static int network_set_ttl (const sockent_t *se, const struct addrinfo *ai) { + DEBUG ("network plugin: network_set_ttl: network_config_ttl = %i;", + network_config_ttl); + if ((network_config_ttl < 1) || (network_config_ttl > 255)) return (-1); - DEBUG ("ttl = %i", network_config_ttl); - if (ai->ai_family == AF_INET) { struct sockaddr_in *addr = (struct sockaddr_in *) ai->ai_addr; -- 2.30.2