]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#283,!135] Obsolete TestControl::receivePackets declaration removed
authorTomek Mrugalski <tomasz@isc.org>
Tue, 15 Jan 2019 13:30:48 +0000 (14:30 +0100)
committerMichal Nowikowski <godfryd@isc.org>
Fri, 18 Jan 2019 09:05:12 +0000 (10:05 +0100)
src/bin/perfdhcp/test_control.h

index 2c40b36a624e584abb6803195d5bb1e8ea013697..9849bc47752ff247653c181a2c16ba55b1511a33 100644 (file)
@@ -398,7 +398,7 @@ protected:
     /// \param type option-type (ignored).
     /// \param buf option-buffer (ignored).
     /// \return instance o the generic option.
-     static dhcp::OptionPtr factoryRequestList4(dhcp::Option::Universe u,
+    static dhcp::OptionPtr factoryRequestList4(dhcp::Option::Universe u,
                                                uint16_t type,
                                                const dhcp::OptionBuffer& buf);
 
@@ -559,22 +559,6 @@ protected:
     void processReceivedPacket6(const BetterSocket& socket,
                                 const dhcp::Pkt6Ptr& pkt6);
 
-    /// \brief Receive DHCPv4 or DHCPv6 packets from the server.
-    ///
-    /// Method receives DHCPv4 or DHCPv6 packets from the server.
-    /// This function will call \ref processReceivedPacket4 or
-    /// \ref processReceivedPacket6 depending if DHCPv4 or DHCPv6 packet
-    /// has arrived.
-    ///
-    /// \warning this method does not check if provided socket is
-    /// valid. Ensure that it is valid prior to calling it.
-    ///
-    /// \param socket socket to be used.
-    /// \throw isc::BadValue if unknown message type received.
-    /// \throw isc::Unexpected if unexpected error occurred.
-    /// \return number of received packets.
-    uint64_t receivePackets(const BetterSocket& socket);
-
     /// \brief Register option factory functions for DHCPv4
     ///
     /// Method registers option factory functions for DHCPv4.