mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-02-13 15:53:47 -05:00
check_ping: fix some variables forgotten during refactoring
This commit is contained in:
parent
7a5fa0cc5c
commit
abc87a3d6d
1 changed files with 2 additions and 2 deletions
|
|
@ -116,10 +116,10 @@ int main(int argc, char **argv) {
|
|||
# ifdef PING_HAS_TIMEOUT
|
||||
xasprintf(&cmd, rawcmd, timeout_interval, config.max_packets, config.addresses[i]);
|
||||
# else
|
||||
xasprintf(&cmd, rawcmd, config.max_packets, addresses[i]);
|
||||
xasprintf(&cmd, rawcmd, config.max_packets, config.addresses[i]);
|
||||
# endif
|
||||
#else
|
||||
xasprintf(&cmd, rawcmd, addresses[i], config.max_packets);
|
||||
xasprintf(&cmd, rawcmd, config.addresses[i], config.max_packets);
|
||||
#endif
|
||||
|
||||
if (verbose >= 2) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue