Added "pkt4-not-for-us" and "pkt6-not-for-us"
statistics which are increased when an incoming packet
- was dropped bease it has to be handled by another server.
+ was dropped because it has to be handled by another server.
Added "pkt4-processing-failed" and "pkt6-processing-failed"
statistics which are increased when an incoming packet
EXPECT_EQ(2, stat->getInteger().first);
}
-// Verifies that DHCPREQEUSTs are sanity checked correctly.
+// Verifies that DHCPREQUESTs are sanity checked correctly.
// 1. They must have either hardware address or client id
// 2. They must have a requested address
// 3. They may or may not have a server id
status to specified value. Actions not listed explicitly are not supported.
If a callout sets status to unsupported value, this specific value will be
ignored and treated as if the status was CONTINUE. If the action is to
- drop the incoming query it is the responsibilty of the hook to increase
+ drop the incoming query it is the responsibility of the hook to increase
statistics.
@section dhcpv6HooksHookPoints Hooks in the DHCPv6 Server
// Test checks if reception of a packet when the service is disabled
// increases pkt6-service-disabled and pkt6-receive-drop.
-TEST_F(Dhcpv6SrvTest, receiveServiceDisableddStat) {
+TEST_F(Dhcpv6SrvTest, receiveServiceDisabledStat) {
StatsMgr& mgr = StatsMgr::instance();
// Let's get a simple SOLICIT...