2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[3736] Removed a bunch of unused functions.

This commit is contained in:
Marcin Siodelski
2015-03-12 12:01:16 +01:00
parent 3cd16ce396
commit 6ed885b735
17 changed files with 14 additions and 207 deletions

View File

@@ -199,26 +199,6 @@ protected:
return (parser);
}
/// @brief Determines if the given option space name and code describe
/// a standard option for the DHCP4 server.
///
/// @param option_space is the name of the option space to consider
/// @param code is the numeric option code to consider
/// @return returns true if the space and code are part of the server's
/// standard options.
bool isServerStdOption(std::string option_space, uint32_t code) {
return ((option_space.compare("dhcp4") == 0)
&& LibDHCP::isStandardOption(Option::V4, code));
}
/// @brief Returns the option definition for a given option code from
/// the DHCP4 server's standard set of options.
/// @param code is the numeric option code of the desired option definition.
/// @return returns a pointer the option definition
OptionDefinitionPtr getServerStdOptionDefinition (uint32_t code) {
return (LibDHCP::getOptionDef(Option::V4, code));
}
/// @brief Issues a DHCP4 server specific warning regarding duplicate subnet
/// options.
///