From: Francis Dupont Date: Thu, 25 Feb 2016 12:00:03 +0000 (+0100) Subject: [4286] Change NIS+ DHO_NIS_* into DHO_NISP_* X-Git-Tag: trac3700_base~3^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b4a67e8903b3570b5ce798df0175a2b126e1b0d2;p=thirdparty%2Fkea.git [4286] Change NIS+ DHO_NIS_* into DHO_NISP_* --- diff --git a/src/lib/dhcp/dhcp4.h b/src/lib/dhcp/dhcp4.h index eaa259f6e6..bae75a1cf9 100644 --- a/src/lib/dhcp/dhcp4.h +++ b/src/lib/dhcp/dhcp4.h @@ -128,8 +128,8 @@ enum DHCPOptionType { DHO_DHCP_CLIENT_IDENTIFIER = 61, DHO_NWIP_DOMAIN_NAME = 62, DHO_NWIP_SUBOPTIONS = 63, - DHO_NIS_DOMAIN_NAME = 64, - DHO_NIS_SERVER_ADDR = 65, + DHO_NISP_DOMAIN_NAME = 64, + DHO_NISP_SERVER_ADDR = 65, DHO_TFTP_SERVER_NAME = 66, DHO_BOOT_FILE_NAME = 67, DHO_HOME_AGENT_ADDRS = 68, diff --git a/src/lib/dhcp/std_option_defs.h b/src/lib/dhcp/std_option_defs.h index 565a170600..9bbc29f88c 100644 --- a/src/lib/dhcp/std_option_defs.h +++ b/src/lib/dhcp/std_option_defs.h @@ -1,4 +1,4 @@ -// Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2012-2016 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -169,8 +169,8 @@ const OptionDefParams OPTION_DEF_PARAMS4[] = { OPT_BINARY_TYPE, false, NO_RECORD_DEF, "" }, { "nwip-domain-name", DHO_NWIP_DOMAIN_NAME, OPT_STRING_TYPE, false, NO_RECORD_DEF, "" }, { "nwip-suboptions", DHO_NWIP_SUBOPTIONS, OPT_BINARY_TYPE, false, NO_RECORD_DEF, "" }, - { "nisplus-domain-name", DHO_NIS_DOMAIN_NAME, OPT_STRING_TYPE, false, NO_RECORD_DEF, "" }, - { "nisplus-servers", DHO_NIS_SERVER_ADDR, OPT_IPV4_ADDRESS_TYPE, true, NO_RECORD_DEF, "" }, + { "nisplus-domain-name", DHO_NISP_DOMAIN_NAME, OPT_STRING_TYPE, false, NO_RECORD_DEF, "" }, + { "nisplus-servers", DHO_NISP_SERVER_ADDR, OPT_IPV4_ADDRESS_TYPE, true, NO_RECORD_DEF, "" }, { "tftp-server-name", DHO_TFTP_SERVER_NAME, OPT_STRING_TYPE, false, NO_RECORD_DEF, "" }, { "boot-file-name", DHO_BOOT_FILE_NAME, OPT_STRING_TYPE, false, diff --git a/src/lib/dhcp/tests/libdhcp++_unittest.cc b/src/lib/dhcp/tests/libdhcp++_unittest.cc index 9c50f5d250..d6e8393d53 100644 --- a/src/lib/dhcp/tests/libdhcp++_unittest.cc +++ b/src/lib/dhcp/tests/libdhcp++_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2011-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2011-2016 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -991,10 +991,10 @@ TEST_F(LibDhcpTest, stdOptionDefs4) { LibDhcpTest::testStdOptionDefs4(DHO_NWIP_SUBOPTIONS, begin, end, typeid(Option)); - LibDhcpTest::testStdOptionDefs4(DHO_NIS_DOMAIN_NAME, begin, end, + LibDhcpTest::testStdOptionDefs4(DHO_NISP_DOMAIN_NAME, begin, end, typeid(OptionString)); - LibDhcpTest::testStdOptionDefs4(DHO_NIS_SERVER_ADDR, begin, end, + LibDhcpTest::testStdOptionDefs4(DHO_NISP_SERVER_ADDR, begin, end, typeid(Option4AddrLst)); LibDhcpTest::testStdOptionDefs4(DHO_TFTP_SERVER_NAME, begin, end,