Author: fapeeler
Date: Wed Sep 29 20:05:41 2010
New Revision: 1002833

URL: http://svn.apache.org/viewvc?rev=1002833&view=rev
Log:
VCL-387

not accounting for caps in regex


Modified:
    incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm

Modified: incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm?rev=1002833&r1=1002832&r2=1002833&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm 
(original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm Wed 
Sep 29 20:05:41 2010
@@ -408,7 +408,7 @@ sub load {
                my @mactab = <MACTAB>;
                close(MACTAB);
                foreach my $line (@mactab) {
-                       if ($line =~ 
/(^$computer_node_name(-eth[0-9])?)(\s+)([:0-9a-f]*)/) {
+                       if ($line =~ 
/(^$computer_node_name(-eth[0-9])?)(\s+)([0-9:a-f]*)/i) {
                                $eth0MACaddress = $4;
                                notify($ERRORS{'OK'}, 0, "MAC address for 
$computer_node_name collected $eth0MACaddress");
                        }


Reply via email to