diff options
author | Jon Langseth <jon.langseth@gmail.com> | 2014-04-12 01:55:21 +0200 |
---|---|---|
committer | Jon Langseth <jon.langseth@gmail.com> | 2014-04-12 01:55:21 +0200 |
commit | 6652c802cd34a52e8533bf55f827301cd228faac (patch) | |
tree | a38b754852761eb7c5e2b76ba71f3871c0fb35de /tools/make-dhcpd.pl | |
parent | 373ece550a9959e31d41f4548e12e653a887e9a6 (diff) | |
parent | 3c192a61c526b497856c22c2ece0b2f6572393da (diff) |
Merge pull request #4 from norrs/config_variables_renames
Config variables renames from norrs
Diffstat (limited to 'tools/make-dhcpd.pl')
-rwxr-xr-x | tools/make-dhcpd.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/make-dhcpd.pl b/tools/make-dhcpd.pl index 2cf388a..3a5db21 100755 --- a/tools/make-dhcpd.pl +++ b/tools/make-dhcpd.pl @@ -21,9 +21,9 @@ my $dhcp_pxeconf = $dhcpd_base . "pxe-boot.conf"; my $dhcp_ciscoapconf = $dhcpd_base . "ciscowlc.conf"; my $tgname = $nms::config::tgname; -my $pri_ptr = $nms::config::pri_ptr; +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_ptr, $sec_ptr; +option domain-name-servers $pri_v4, $sec_v4; default-lease-time 3600; max-lease-time 7200; authoritative; |