From: Ted Lemon Date: Thu, 11 Jan 2001 23:16:31 +0000 (+0000) Subject: Don't allow the client to specify the domain name for updates. X-Git-Tag: V3-BETA-2-PATCH-12~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac9c906a33269c09d1cc82992d0a0d8e916e8da7;p=thirdparty%2Fdhcp.git Don't allow the client to specify the domain name for updates. --- diff --git a/server/dhcpd.c b/server/dhcpd.c index c9ce61161..6d386a7bb 100644 --- a/server/dhcpd.c +++ b/server/dhcpd.c @@ -43,7 +43,7 @@ #ifndef lint static char ocopyright[] = -"$Id: dhcpd.c,v 1.107 2001/01/04 00:23:39 mellon Exp $ Copyright 1995-2000 Internet Software Consortium."; +"$Id: dhcpd.c,v 1.108 2001/01/11 23:16:31 mellon Exp $ Copyright 1995-2000 Internet Software Consortium."; #endif static char copyright[] = @@ -71,8 +71,7 @@ int server_identifier_matched; char std_nsupdate [] = " \n\ option server.ddns-hostname = \n\ pick (option fqdn.hostname, option host-name); \n\ -option server.ddns-domainname = \n\ - pick (option fqdn.domainname, config-option domain-name); \n\ +option server.ddns-domainname = config-option domain-name; \n\ option server.ddns-ttl = encode-int(lease-time / 2, 32); \n\ option server.ddns-rev-domainname = \"in-addr.arpa.\";";