summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c751f19)
raw | patch | inline | side by side (parent: c751f19)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 15 Mar 2009 10:41:20 +0000 (11:41 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 15 Mar 2009 10:41:20 +0000 (11:41 +0100) |
src/liboping.c | patch | blob | history |
diff --git a/src/liboping.c b/src/liboping.c
index 65b2ef529dd81cff07b7948f2d8f47eeb76e76c1..4f7d955a6ad5baab241f46f12d636b0c7df22244 100644 (file)
--- a/src/liboping.c
+++ b/src/liboping.c
obj->ttl = PING_DEF_TTL;
ret = -1;
}
+ else
+ {
+ pinghost_t *ph;
+
+ for (ph = obj->head; ph != NULL; ph = ph->next)
+ ping_set_ttl (ph, obj->ttl);
+ }
break;
case PING_OPT_AF: