mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 13:37:55 +00:00
[#3074] io address comment correction
This commit is contained in:
parent
6ab11b941f
commit
6f73965d0f
@ -62,8 +62,7 @@ IOAddress
|
||||
IOAddress::fromBytes(short family, const uint8_t* data) {
|
||||
if (data == NULL) {
|
||||
isc_throw(BadValue, "NULL pointer received.");
|
||||
} else
|
||||
if ( (family != AF_INET) && (family != AF_INET6) ) {
|
||||
} else if ((family != AF_INET) && (family != AF_INET6)) {
|
||||
isc_throw(BadValue, "Invalid family type. Only AF_INET and AF_INET6"
|
||||
<< "are supported");
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ public:
|
||||
///
|
||||
/// This constructor is intended to be used when constructing
|
||||
/// IPv4 address out of uint32_t type. Passed value must be in
|
||||
/// network byte order
|
||||
/// host byte order.
|
||||
///
|
||||
/// @param v4address IPv4 address represented by uint32_t
|
||||
IOAddress(uint32_t v4address);
|
||||
|
Loading…
x
Reference in New Issue
Block a user