diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-05-13 09:01:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-13 09:01:05 +0200 |
commit | af88e3ced3c49169ed57fa4b4eaf6b4d8bb39ba7 (patch) | |
tree | e109051f4b0929c44c608962fede9f618995c1b2 /configure.ac | |
parent | b13f97780716f758652cd5f92bd7d6cd7f122a54 (diff) | |
parent | da80da50d34eccefa4c5e5f5a500f06170e3d876 (diff) | |
download | monitoring-plugins-af88e3ce.tar.gz |
Merge pull request #2115 from Firstyear/20250327-use-flags-fping
Improve handling of -4/-6
This changes the handling of `-4`/`-6` flags for check_fping to make it more explicit which IP stack is used in which case.
Additionally, the deprecated `fping6` command is removed wholesale and the explicit `-4`/`-6` flags are used instead.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index fdc9b699..bd3de196 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1524,17 +1524,10 @@ AC_PATH_PROG(PATH_TO_FPING6,fping6) | |||
1524 | AC_ARG_WITH(fping_command, | 1524 | AC_ARG_WITH(fping_command, |
1525 | ACX_HELP_STRING([--with-fping-command=PATH], | 1525 | ACX_HELP_STRING([--with-fping-command=PATH], |
1526 | [Path to fping command]), PATH_TO_FPING=$withval) | 1526 | [Path to fping command]), PATH_TO_FPING=$withval) |
1527 | AC_ARG_WITH(fping6_command, | ||
1528 | ACX_HELP_STRING([--with-fping6-command=PATH], | ||
1529 | [Path to fping6 command]), PATH_TO_FPING6=$withval) | ||
1530 | |||
1531 | if test -n "$PATH_TO_FPING" | 1527 | if test -n "$PATH_TO_FPING" |
1532 | then | 1528 | then |
1533 | AC_DEFINE_UNQUOTED(PATH_TO_FPING,"$PATH_TO_FPING",[path to fping]) | 1529 | AC_DEFINE_UNQUOTED(PATH_TO_FPING,"$PATH_TO_FPING",[path to fping]) |
1534 | EXTRAS="$EXTRAS check_fping\$(EXEEXT)" | 1530 | EXTRAS="$EXTRAS check_fping\$(EXEEXT)" |
1535 | if test x"$with_ipv6" != xno && test -n "$PATH_TO_FPING6"; then | ||
1536 | AC_DEFINE_UNQUOTED(PATH_TO_FPING6,"$PATH_TO_FPING6",[path to fping6]) | ||
1537 | fi | ||
1538 | else | 1531 | else |
1539 | AC_MSG_WARN([Get fping from http://www.fping.com in order to make check_fping plugin]) | 1532 | AC_MSG_WARN([Get fping from http://www.fping.com in order to make check_fping plugin]) |
1540 | fi | 1533 | fi |