fix bug 122: get rid of duplicate argument to QueryInterface
This commit is contained in:
1 parent
6b0e717a19
commit
f3e77eea3d
31 files changed
+128
-121
No files matched your search
@@ -742,7 +742,7 @@ Ipv4L3Protocol::ForwardUp (Ptr<Packet> p, Ipv4Header const&ip,
|
||||
NS_LOG_FUNCTION;
|
||||
NS_LOG_PARAMS (this << p << &ip);
|
||||
|
||||
Ptr<Ipv4L4Demux> demux = m_node->QueryInterface<Ipv4L4Demux> (Ipv4L4Demux::iid);
|
||||
Ptr<Ipv4L4Demux> demux = m_node->QueryInterface<Ipv4L4Demux> ();
|
||||
Ptr<Ipv4L4Protocol> protocol = demux->GetProtocol (ip.GetProtocol ());
|
||||
protocol->Receive (p, ip.GetSource (), ip.GetDestination (), incomingInterface);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user