summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5ecd646)
raw | patch | inline | side by side (parent: 5ecd646)
author | octo <octo> | |
Wed, 19 Apr 2006 12:40:06 +0000 (12:40 +0000) | ||
committer | octo <octo> | |
Wed, 19 Apr 2006 12:40:06 +0000 (12:40 +0000) |
src/liboping/liboping.c | patch | blob | history |
index 57de9b5f18eecd20dd84368b51f08ec27d30e386..de66cd532f6ae940fde370e9a227647c835b6ca0 100644 (file)
--- a/src/liboping/liboping.c
+++ b/src/liboping/liboping.c
return (NULL);
memset (obj, '\0', sizeof (pingobj_t));
+ obj->timeout = PING_DEF_TIMEOUT;
+ obj->ttl = PING_DEF_TTL;
+ obj->addrfamily = PING_DEF_AF;
+
return (obj);
}