if ( (ip->isV4() && family_ != Option::V4) ||
(ip->isV6() && family_ != Option::V6) ) {
isc_throw(DhcpConfigError, "ip-address field " << ip->toText()
- << "does not have IP address of expected family type:"
+ << "does not have IP address of expected family type: "
<< (family_ == Option::V4?"IPv4":"IPv6"));
}
const isc::dhcp::Option::Universe family);
/// @brief parses the actual relay parameters
- /// @param relay_info JSON strcture holding relay parameters to parse
+ /// @param relay_info JSON structure holding relay parameters to parse
virtual void build(isc::data::ConstElementPtr relay_info);
/// @brief stores parsed info in relay_info