2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[#3712] Addressed review comments

Couple of typos fixed.
This commit is contained in:
Thomas Markwalder
2025-02-18 15:03:12 +00:00
parent 0b98eae16d
commit 16306026e3

View File

@@ -320,7 +320,7 @@ PktFilterLPF::receive(Iface& iface, const SocketInfo& socket_info) {
auto v4_len = buf.getLength() - buf.getPosition();
if (v4_len <= 0) {
isc_throw(SocketReadError, "Pkt4FilterLpf:: packet has no DHCPv4 data");
isc_throw(SocketReadError, "Pkt4FilterLpf packet has no DHCPv4 data");
}
// Read the DHCP data.
@@ -349,7 +349,8 @@ PktFilterLPF::receive(Iface& iface, const SocketInfo& socket_info) {
struct timeval cmsg_time;
memcpy(&cmsg_time, CMSG_DATA(cmsg), sizeof(cmsg_time));
pkt->addPktEvent(PktEvent::SOCKET_RECEIVED, cmsg_time); break;
pkt->addPktEvent(PktEvent::SOCKET_RECEIVED, cmsg_time);
break;
}
cmsg = CMSG_NXTHDR(&m, cmsg);