diff options
author | Roy Sindre Norangshol <roy.sindre@norangshol.no> | 2014-04-12 01:09:16 +0200 |
---|---|---|
committer | Roy Sindre Norangshol <roy.sindre@norangshol.no> | 2014-04-12 01:27:00 +0200 |
commit | 3c192a61c526b497856c22c2ece0b2f6572393da (patch) | |
tree | 3d1edd2d8c5e3b011f7695631e49f3c9b51f8676 /tools/make-dhcpd.pl | |
parent | 89ff78867ca90dbbc51df1e070290bd7da985755 (diff) |
Rename ::config::sec_ptr to ::config::sec_v4 as the value is the NS secondary IPv4 address.
Diffstat (limited to 'tools/make-dhcpd.pl')
-rwxr-xr-x | tools/make-dhcpd.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/make-dhcpd.pl b/tools/make-dhcpd.pl index 66ef09d..3a5db21 100755 --- a/tools/make-dhcpd.pl +++ b/tools/make-dhcpd.pl @@ -23,7 +23,7 @@ my $dhcp_ciscoapconf = $dhcpd_base . "ciscowlc.conf"; my $tgname = $nms::config::tgname; my $pri_v4 = $nms::config::pri_v4; my $pri_net = $nms::config::pri_net; -my $sec_ptr = $nms::config::sec_ptr; +my $sec_v4 = $nms::config::sec_v4; my $pxe_server = $nms::config::pxe_server; my $ddns_key = $nms::config::ddns_key; my $ciscowlc_a = $nms::config::ciscowlc_a; @@ -47,7 +47,7 @@ if ( not -f $dhcpd_conf ) # # log-facility local7; option domain-name "$tgname.gathering.org"; -option domain-name-servers $pri_v4, $sec_ptr; +option domain-name-servers $pri_v4, $sec_v4; default-lease-time 3600; max-lease-time 7200; authoritative; |