summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping/probes/FPing6.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/FPing6.pm
parent48ac00bb2d537725a61fde25ad37c61035bf2d5f (diff)
downloadsmokeping-556a41ddf75f302643b9f81c344ffb731a5d0093.tar.gz
smokeping-556a41ddf75f302643b9f81c344ffb731a5d0093.tar.xz
lets be less extreem with regexps ... :-)
Diffstat (limited to 'lib/Smokeping/probes/FPing6.pm')
-rw-r--r--lib/Smokeping/probes/FPing6.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping/probes/FPing6.pm b/lib/Smokeping/probes/FPing6.pm
index aa3af46..308d4ff 100644
--- a/lib/Smokeping/probes/FPing6.pm
+++ b/lib/Smokeping/probes/FPing6.pm
@@ -46,7 +46,7 @@ sub probevars {
my $self = shift;
my $h = $self->SUPER::probevars;
$h->{binary}{_example} = "/usr/bin/fping6";
- $h->{sourceaddress}{_re} = "(?:(?:(?:(?:[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4})*)?)::(?:(?:[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4})*)?))|(?:(?:(?:[0-9A-Fa-f]{1,4}:){6,6})(?:25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3})|(?:(?:(?:[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4})*)?)::(?:(?:[0-9A-Fa-f]{1,4}:)*)(?:25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}))";
+ $h->{sourceaddress}{_re} = "[0-9A-Fa-f:.]+";
return $h;
}