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

[#488,!259] Updated get_config_unittests for v4.

This commit is contained in:
Marcin Siodelski
2019-03-06 17:29:53 +01:00
parent 076e366345
commit d3b3305865
3 changed files with 4 additions and 2 deletions

View File

@@ -8359,6 +8359,7 @@ const char* UNPARSED_CONFIGS[] = {
" \"interface\": \"\",\n"
" \"match-client-id\": true,\n"
" \"name\": \"foo\",\n"
" \"next-server\": \"0.0.0.0\",\n"
" \"option-data\": [ ],\n"
" \"relay\": {\n"
" \"ip-addresses\": [ ]\n"
@@ -8644,6 +8645,7 @@ const char* UNPARSED_CONFIGS[] = {
" \"interface\": \"\",\n"
" \"match-client-id\": true,\n"
" \"name\": \"foo\",\n"
" \"next-server\": \"0.0.0.0\",\n"
" \"option-data\": [ ],\n"
" \"relay\": {\n"
" \"ip-addresses\": [ ]\n"

View File

@@ -214,7 +214,7 @@ Network4::setSiaddr(const Optional<IOAddress>& siaddr) {
siaddr_ = siaddr;
}
Optional<IOAddress>
const Optional<IOAddress>&
Network4::getSiaddr() const {
return (siaddr_);
}

View File

@@ -464,7 +464,7 @@ public:
/// @brief Returns siaddr for this network.
///
/// @return siaddr value
util::Optional<asiolink::IOAddress> getSiaddr() const;
const util::Optional<asiolink::IOAddress>& getSiaddr() const;
/// @brief Sets server hostname for the network.
///