summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2024-02-20 19:15:45 +0100
committerThomas Markwalder <tmark@isc.org>2024-02-20 19:15:45 +0100
commit60cda8f3ee457186f9fd0176e5a20fb833a5add8 (patch)
treea190911ba19a9550c61c76cb540a0fee36c1e37e /src
parent[#3231] Refine conditional log in pkt_filter_bpf.cc (diff)
downloadkea-60cda8f3ee457186f9fd0176e5a20fb833a5add8.tar.xz
kea-60cda8f3ee457186f9fd0176e5a20fb833a5add8.zip
[#3231] Fixed some additional comments.
Minor nits in: src/bin/dhcp4/tests/dhcp4_test_utils.h src/bin/dhcp6/tests/dhcp6_test_utils.h
Diffstat (limited to 'src')
-rw-r--r--src/bin/dhcp4/tests/dhcp4_test_utils.h3
-rw-r--r--src/bin/dhcp6/tests/dhcp6_test_utils.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/bin/dhcp4/tests/dhcp4_test_utils.h b/src/bin/dhcp4/tests/dhcp4_test_utils.h
index cfa51a71b2..b6e93fcd22 100644
--- a/src/bin/dhcp4/tests/dhcp4_test_utils.h
+++ b/src/bin/dhcp4/tests/dhcp4_test_utils.h
@@ -192,7 +192,7 @@ public:
///
/// See fake_received_ field for description
void fakeReceive(const Pkt4Ptr& pkt) {
- // Add packet events normmaly set by PktFilter.
+ // Add packet events normally set by PktFilter.
pkt->addPktEvent(PktEvent::SOCKET_RECEIVED);
pkt->addPktEvent(PktEvent::BUFFER_READ);
fake_received_.push_back(pkt);
@@ -686,7 +686,6 @@ public:
/// of expected events.
///
/// @param msg pointer to the packet under test.
- /// of the stack's first event (i.e. before packet was sent or received)
/// @param expected_events a list of the event labels in the order they
/// are expected to occur in the stack.
void checkPktEvents(const PktPtr& msg, std::list<std::string> expected_events);
diff --git a/src/bin/dhcp6/tests/dhcp6_test_utils.h b/src/bin/dhcp6/tests/dhcp6_test_utils.h
index 591a69d94b..9c681d091e 100644
--- a/src/bin/dhcp6/tests/dhcp6_test_utils.h
+++ b/src/bin/dhcp6/tests/dhcp6_test_utils.h
@@ -556,8 +556,6 @@ public:
/// of expected events.
///
/// @param msg pointer to the packet under test.
- /// @param start_time system time prior to or equal to the timestamp
- /// of the stack's first event (i.e. before packet was sent or received)
/// @param expected_events a list of the event labels in the order they
/// are expected to occur in the stack.
void checkPktEvents(const PktPtr& msg, std::list<std::string> expected_events);