aboutsummaryrefslogtreecommitdiffstats
path: root/tools/make-dhcpd.pl
diff options
context:
space:
mode:
authorJon Langseth <jon.langseth@gmail.com>2014-04-12 01:55:21 +0200
committerJon Langseth <jon.langseth@gmail.com>2014-04-12 01:55:21 +0200
commit6652c802cd34a52e8533bf55f827301cd228faac (patch)
treea38b754852761eb7c5e2b76ba71f3871c0fb35de /tools/make-dhcpd.pl
parent373ece550a9959e31d41f4548e12e653a887e9a6 (diff)
parent3c192a61c526b497856c22c2ece0b2f6572393da (diff)
Merge pull request #4 from norrs/config_variables_renames
Config variables renames from norrs
Diffstat (limited to 'tools/make-dhcpd.pl')
-rwxr-xr-xtools/make-dhcpd.pl6
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;