mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-01 14:35:29 +00:00
@@ -192,7 +192,7 @@ PktFilterLPF::openSocket(Iface& iface,
|
|||||||
int enable = 1;
|
int enable = 1;
|
||||||
if (setsockopt(sock, SOL_SOCKET, SO_TIMESTAMP, &enable, sizeof(enable))) {
|
if (setsockopt(sock, SOL_SOCKET, SO_TIMESTAMP, &enable, sizeof(enable))) {
|
||||||
const char* errmsg = strerror(errno);
|
const char* errmsg = strerror(errno);
|
||||||
isc_throw(SocketConfigError, "Can not enable SO_TIMESTAMP for " << addr.toText()
|
isc_throw(SocketConfigError, "Could not enable SO_TIMESTAMP for " << addr.toText()
|
||||||
<< ", error: " << errmsg);
|
<< ", error: " << errmsg);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user