--- lib/PXElator/server.pm 2010/09/17 17:31:54 528 +++ lib/PXElator/server.pm 2010/09/17 18:20:36 530 @@ -24,7 +24,7 @@ die "device $dev not up: ifconfig $dev\n$ifconfig" unless $ifconfig =~ m/UP/; $ip = $1 if $ifconfig =~ m/inet addr:(\S+)/s; $netmask = $1 if $ifconfig =~ m/Mask:(\S+)/s; - $bcast = $1 if $ifconfig =~ m/Bcast:(\S)/s; + $bcast = $1 if $ifconfig =~ m/Bcast:(\S+)/s; } warn "DEV $ip $bcast $netmask";