aboutsummaryrefslogtreecommitdiffstats
path: root/tools/make-dhcpd.pl
diff options
context:
space:
mode:
authorRoy Sindre Norangshol <roy.sindre@norangshol.no>2014-04-12 01:09:16 +0200
committerRoy Sindre Norangshol <roy.sindre@norangshol.no>2014-04-12 01:27:00 +0200
commit3c192a61c526b497856c22c2ece0b2f6572393da (patch)
tree3d1edd2d8c5e3b011f7695631e49f3c9b51f8676 /tools/make-dhcpd.pl
parent89ff78867ca90dbbc51df1e070290bd7da985755 (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-xtools/make-dhcpd.pl4
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;