Commit eb30390f authored by Thomas Markwalder's avatar Thomas Markwalder
Browse files

[5535] RelayInfo parser emits ip-address deprecation message

parent d4c3cac2
......@@ -84,6 +84,12 @@ This warning message is issued on an attempt to configure multiple options with
same option code for the particular subnet. Adding multiple options is uncommon
for DHCPv6, but it is not prohibited.
% DHCPSRV_CFGMGR_RELAY_IP_ADDRESS_DEPRECATED "relay" uses "ip-address", which has been deprecated, please use "ip-addresses": %1
This is debug message issued when the "relay" element being parse
contains "ip-address" rather than its replacement, "ip-addresses".
The server will still honor the value but users are encouraged to
move to the new list parameter.
% DHCPSRV_CFGMGR_SOCKET_RAW_UNSUPPORTED use of raw sockets is unsupported on this OS, UDP sockets will be used
This warning message is logged when the user specified that the
DHCPv4 server should use the raw sockets to receive the DHCP
......@@ -256,9 +256,11 @@ RelayInfoParser::parse(const isc::dhcp::Network::RelayInfoPtr& relay_info,
*relay_info = isc::dhcp::Network::RelayInfo();
if (address) {
// log a deprec debug message ?
addAddress("ip-address", getString(relay_elem, "ip-address"),
relay_elem, relay_info);
.arg(getPosition("ip-address", relay_elem));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment