diff options
Diffstat (limited to 'bootstrap/make-dhcpd.pl')
| -rwxr-xr-x | bootstrap/make-dhcpd.pl | 8 | 
1 files changed, 1 insertions, 7 deletions
| diff --git a/bootstrap/make-dhcpd.pl b/bootstrap/make-dhcpd.pl index d5f49cc..04def7b 100755 --- a/bootstrap/make-dhcpd.pl +++ b/bootstrap/make-dhcpd.pl @@ -41,12 +41,6 @@ if ( not -f $dhcpd_conf )  		print STDERR "Creating file " . $dhcpd_conf . "\n";  		open DHCPDFILE, ">" . $dhcpd_conf or die ( $! . " " . $dhcpd_conf); -		my $network = Net::IP->new($v4_net)->ip(); -		my $netmask = Net::IP->new($v4_net)->mask(); -		(my $first = NetAddr::IP->new($v4_net)->nth(3)) =~ s/\/[0-9]{1,2}//; # we reserve the three first addresses  -		(my $last = NetAddr::IP->new($v4_net)->last()) =~ s/\/[0-9]{1,2}//; -		(my $gw = NetAddr::IP->new($v4_net)->first()) =~ s/\/[0-9]{1,2}//; -  		print DHCPDFILE <<"EOF";  # GENERATED BY make-dhcpd.pl @@ -145,7 +139,7 @@ option space AP;  option AP.server-address code 241 = array of ip-address;  set vendor-string = option vendor-class-identifier; -class "cisco-aps" { +class "access-points" {         match if substring (option vendor-class-identifier, 0, 8) = "Access Point";         vendor-option-space AP;         option AP.server-address $nms::config::wlc1; | 
