summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5f5da97)
raw | patch | inline | side by side (parent: 5f5da97)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Thu, 19 Mar 2009 08:40:29 +0000 (09:40 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Thu, 19 Mar 2009 08:40:29 +0000 (09:40 +0100) |
src/network.c | patch | blob | history |
diff --git a/src/network.c b/src/network.c
index 9e391bb2dfd7c91b1cfd641fa5db40ea4da18b01..c996b078615581d3f9d0a38553938e41daea9ef4 100644 (file)
--- a/src/network.c
+++ b/src/network.c
*/
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;