summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping/probes/FPing.pm
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2006-10-25 21:59:22 +0200
committerTobi Oetiker <tobi@oetiker.ch>2006-10-25 21:59:22 +0200
commit556a41ddf75f302643b9f81c344ffb731a5d0093 (patch)
tree660baae07cc398bcb72513836075f22b1465afbb /lib/Smokeping/probes/FPing.pm
parent48ac00bb2d537725a61fde25ad37c61035bf2d5f (diff)
downloadsmokeping-556a41ddf75f302643b9f81c344ffb731a5d0093.tar.gz
smokeping-556a41ddf75f302643b9f81c344ffb731a5d0093.tar.xz
lets be less extreem with regexps ... :-)
Diffstat (limited to 'lib/Smokeping/probes/FPing.pm')
-rw-r--r--lib/Smokeping/probes/FPing.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping/probes/FPing.pm b/lib/Smokeping/probes/FPing.pm
index 0e62576..5c6f612 100644
--- a/lib/Smokeping/probes/FPing.pm
+++ b/lib/Smokeping/probes/FPing.pm
@@ -196,7 +196,7 @@ The minimum amount of time between sending a ping packet to any target.
DOC
},
sourceaddress => {
- _re => '(?:25[0-5]|2[0-4]\d|[0-1]?\d?\d)(?:\.(?:25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}',
+ _re => '\d+(\.\d+){3}',
_example => '192.168.0.1',
_doc => <<DOC,
The fping "-S" parameter . From fping(1):