Browse Source

[2983] Minor comments corrections in v6 hooks tests

Tomek Mrugalski 11 years ago
parent
commit
8dcab488bb
1 changed files with 2 additions and 6 deletions
  1. 2 6
      src/bin/dhcp6/tests/hooks_unittest.cc

+ 2 - 6
src/bin/dhcp6/tests/hooks_unittest.cc

@@ -285,10 +285,6 @@ public:
     /// @return always 0
     static int
     buffer6_receive_skip(CalloutHandle& callout_handle) {
-
-        Pkt6Ptr pkt;
-        callout_handle.getArgument("query6", pkt);
-
         callout_handle.setSkip(true);
 
         // Carry on as usual
@@ -561,7 +557,7 @@ TEST_F(HooksDhcpv6SrvTest, simple_buffer6_receive) {
     // Server will now process to run its normal loop, but instead of calling
     // IfaceMgr::receive6(), it will read all packets from the list set by
     // fakeReceive()
-    // In particular, it should call registered pkt6_receive callback.
+    // In particular, it should call registered buffer6_receive callback.
     srv_->run();
 
     // Check that the callback called is indeed the one we installed
@@ -577,7 +573,7 @@ TEST_F(HooksDhcpv6SrvTest, simple_buffer6_receive) {
     EXPECT_TRUE(expected_argument_names == callback_argument_names_);
 }
 
-// Checks if callouts installed on pkt6_received is able to change
+// Checks if callouts installed on buffer6_receive is able to change
 // the values and the parameters are indeed used by the server.
 TEST_F(HooksDhcpv6SrvTest, valueChange_buffer6_receive) {