author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 22 Oct 2006 16:42:45 +0000 (18:42 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 22 Oct 2006 16:42:45 +0000 (18:42 +0200) | ||
commit | f559ac3b4c34c2fe787f7d512e24f2ab1dacf8c2 | |
tree | 2f8424af22dbdb4e63f9bae250fb1534443a4edf | tree | snapshot |
parent | ea985db58c8d53a69fe8e3cc58bb2b181762989d | commit | diff |
ping plugin: Add the hosts during initialization, not when reading the config file.
Since adding a host to liboping might block when no nameserver can be reached
or another problem occures (normally this means network misconfiguration) it's
not the best idea to do this when reading the config file. At that point we
didn't fork to the background yet, so the boot process may hang which is not good.
Also, hosts that cannot be added right away are tried again in increasing intervals.
Since adding a host to liboping might block when no nameserver can be reached
or another problem occures (normally this means network misconfiguration) it's
not the best idea to do this when reading the config file. At that point we
didn't fork to the background yet, so the boot process may hang which is not good.
Also, hosts that cannot be added right away are tried again in increasing intervals.
src/ping.c | diff | blob | history |