Making CompleteFork as virtual

The change is needed because subclass should be allowed to do things (e.g.fire a
callbacks) when the fork is completed.
This commit is contained in:
Natale Patriciello
2015-10-16 10:43:40 -07:00
parent 157fec86d9
commit 562c67c73a

View File

@@ -473,7 +473,8 @@ protected:
* \param fromAddress the address of the remote host
* \param toAddress the address the connection is directed to
*/
void CompleteFork (Ptr<Packet> p, const TcpHeader& tcpHeader, const Address& fromAddress, const Address& toAddress);
virtual void CompleteFork (Ptr<Packet> p, const TcpHeader& tcpHeader,
const Address& fromAddress, const Address& toAddress);