fix bug 122: get rid of duplicate argument to QueryInterface
This commit is contained in:
@@ -32,7 +32,7 @@ PacketSocketFactory::PacketSocketFactory ()
|
||||
|
||||
Ptr<Socket> PacketSocketFactory::CreateSocket (void)
|
||||
{
|
||||
Ptr<Node> node = QueryInterface<Node> (Node::iid);
|
||||
Ptr<Node> node = QueryInterface<Node> ();
|
||||
Ptr<PacketSocket> socket = CreateObject<PacketSocket> (node);
|
||||
return socket;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user