diff options
author | Roy Sindre Norangshol <roy.sindre@norangshol.no> | 2014-04-12 01:05:44 +0200 |
---|---|---|
committer | Roy Sindre Norangshol <roy.sindre@norangshol.no> | 2014-04-12 01:27:00 +0200 |
commit | 89ff78867ca90dbbc51df1e070290bd7da985755 (patch) | |
tree | 81cff4a40bc7c5a2dac6612dd86651566399dcf2 /tools/make-dhcpd.pl | |
parent | 223db182458b25cff38b2bf9d9bd9c2323c89587 (diff) |
Rename ::config::pri_ptr to ::config::pri_v4 as the value is the NS primary 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 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; |