projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bcc1f6
)
Fix regexp
author
Jamie Cameron
<jcameron@webmin.com>
Mon, 5 May 2008 18:06:03 +0000
(18:06 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Mon, 5 May 2008 18:06:03 +0000
(18:06 +0000)
heartbeat/heartbeat-lib.pl
patch
|
blob
|
history
diff --git
a/heartbeat/heartbeat-lib.pl
b/heartbeat/heartbeat-lib.pl
index
4870b23
..
0b3fd58
100644
(file)
--- a/
heartbeat/heartbeat-lib.pl
+++ b/
heartbeat/heartbeat-lib.pl
@@
-202,7
+202,7
@@
sub check_status_resource {
}
$iplist = join (' ',@realips);
foreach my $ip (@ips) {
- $ip =~ s/\///;
+ $ip =~ s/\/
.*
//;
return 0 unless ( $iplist =~ m/$ip/);
}
return 1;