SF.net SVN: logwatch:[236] scripts/services/dhcpd

[email protected] Mon, 15 Sep 2014 22:10:33 +0000
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Revision: 236
          http://sourceforge.net/p/logwatch/code/236
Author:   bjorn1
Date:     2014-09-15 22:10:32 +0000 (Mon, 15 Sep 2014)
Log Message:
-----------
Allow for virtual interface names

Modified Paths:
--------------
    scripts/services/dhcpd

Modified: scripts/services/dhcpd
===================================================================
--- scripts/services/dhcpd	2014-09-09 16:27:52 UTC (rev 235)
+++ scripts/services/dhcpd	2014-09-15 22:10:32 UTC (rev 236)
@@ -78,7 +78,7 @@
    } elsif (
       ($line =~ /^you want, please write a subnet declaration/) or
       ($line =~ /^in your dhcpd.conf file for the network segment/) or
-      ($line =~ /^to which interface [a-z\d]+ is attached./) or
+      ($line =~ /^to which interface [a-z\d\.]+ is attached./) or
 
       ($line =~ /^If you did not get this software from ftp.isc.org, please/) or
       ($line =~ /^get the latest from ftp.isc.org and install that before/) or
@@ -111,9 +111,9 @@
       $data{'Generic error'}{$line}++;
    } elsif ($line =~ /^There's already a DHCP server running./) {
       $data{'Generic error'}{$line}++;
-   } elsif ($line =~ s/^\*\* Ignoring requests on ([a-z\d]+).  If this is not what\s*$/Ignoring interface $1/) {
+   } elsif ($line =~ s/^\*\* Ignoring requests on ([a-z\d\.]+).  If this is not what\s*$/Ignoring interface $1/) {
       $data{'Config error'}{$line}++;
-   } elsif ($line =~ s/^No subnet6? declaration for ([a-z\d]+) ([\(\)\d\.ia-fA-F:]+).\s*$/No subnet declaration for $1 $2/) {
+   } elsif ($line =~ s/^No subnet6? declaration for ([a-z\d\.]+) ([\(\)\d\.ia-fA-F:]+).\s*$/No subnet declaration for $1 $2/) {
       $data{'Config error'}{$line}++;
    } elsif ($line =~ /^If this DHCP server is authoritative for that subnet,$/) {
       $data{'Config error'}{'missing authoritative directive'}++; 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk