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:
@@ -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"
|
||||
|
@@ -214,7 +214,7 @@ Network4::setSiaddr(const Optional<IOAddress>& siaddr) {
|
||||
siaddr_ = siaddr;
|
||||
}
|
||||
|
||||
Optional<IOAddress>
|
||||
const Optional<IOAddress>&
|
||||
Network4::getSiaddr() const {
|
||||
return (siaddr_);
|
||||
}
|
||||
|
@@ -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.
|
||||
///
|
||||
|
Reference in New Issue
Block a user