From 89ff78867ca90dbbc51df1e070290bd7da985755 Mon Sep 17 00:00:00 2001 From: Roy Sindre Norangshol Date: Sat, 12 Apr 2014 01:05:44 +0200 Subject: Rename ::config::pri_ptr to ::config::pri_v4 as the value is the NS primary IPv4 address. --- tools/make-dhcpd.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/make-dhcpd.pl') diff --git a/tools/make-dhcpd.pl b/tools/make-dhcpd.pl index 2cf388a..66ef09d 100755 --- a/tools/make-dhcpd.pl +++ b/tools/make-dhcpd.pl @@ -21,7 +21,7 @@ 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 $pxe_server = $nms::config::pxe_server; @@ -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_ptr; default-lease-time 3600; max-lease-time 7200; authoritative; -- cgit v1.2.3 From 3c192a61c526b497856c22c2ece0b2f6572393da Mon Sep 17 00:00:00 2001 From: Roy Sindre Norangshol Date: Sat, 12 Apr 2014 01:09:16 +0200 Subject: Rename ::config::sec_ptr to ::config::sec_v4 as the value is the NS secondary IPv4 address. --- tools/make-dhcpd.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/make-dhcpd.pl') 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; -- cgit v1.2.3