SF.net SVN: logwatch:[173] scripts/shared/onlyhost
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
Revision: 173
http://sourceforge.net/p/logwatch/code/173
Author: opoplawski
Date: 2013-11-01 15:11:09 +0000 (Fri, 01 Nov 2013)
Log Message:
-----------
Handle non "word" characters in hostnames in onlyhost
Modified Paths:
--------------
scripts/shared/onlyhost
Modified: scripts/shared/onlyhost
===================================================================
--- scripts/shared/onlyhost 2013-10-25 19:23:31 UTC (rev 172)
+++ scripts/shared/onlyhost 2013-11-01 15:11:09 UTC (rev 173)
@@ -46,7 +46,7 @@
my $line;
while (defined($line = <STDIN>)) {
if ($hostname) {
- if ($line =~ m/^... .. ..:..:.. $hostname\b/io) {
+ if ($line =~ m/^... .. ..:..:.. $hostname\s/io) {
print $line;
}
} else {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk