diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2021-07-17 16:29:53 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2023-08-07 16:59:22 +0900 |
commit | 8affc6cc332f14827532611d522c30e153f3fe82 (patch) | |
tree | 0c140e615338c9e53218945528db22c154de30d5 | |
parent | 8d03390c0e95fa2822ce79967467378dcbb65796 (diff) | |
download | smokeping-8affc6cc332f14827532611d522c30e153f3fe82.tar.gz |
lib/Smokeping/probes/FPing*: allow IPv6 on normal FPing probes
-rw-r--r-- | lib/Smokeping/probes/FPing.pm | 2 | ||||
-rw-r--r-- | lib/Smokeping/probes/FPingContinuous.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Smokeping/probes/FPing.pm b/lib/Smokeping/probes/FPing.pm index a0a76b3..1a1210b 100644 --- a/lib/Smokeping/probes/FPing.pm +++ b/lib/Smokeping/probes/FPing.pm @@ -259,7 +259,7 @@ The minimum amount of time between sending a ping packet to any target. DOC }, sourceaddress => { - _re => '\d+(\.\d+){3}', + _re => '[0-9A-Fa-f:.]+', _example => '192.168.0.1', _doc => <<DOC, The fping "-S" parameter . From fping(1): diff --git a/lib/Smokeping/probes/FPingContinuous.pm b/lib/Smokeping/probes/FPingContinuous.pm index 70ac409..47e8b7b 100644 --- a/lib/Smokeping/probes/FPingContinuous.pm +++ b/lib/Smokeping/probes/FPingContinuous.pm @@ -424,7 +424,7 @@ to an individual target. DOC }, sourceaddress => { - _re => '\d+(\.\d+){3}', + _re => '[0-9A-Fa-f:.]+', _example => '192.168.0.1', _doc => <<DOC, The fping "-S" parameter . From fping(1): |