make sure dev is initialized correctly when binding to more than one interface.
This commit is contained in:
1 parent
02dc54f597
commit
46cc3fab6d
1 file changed
+1
-1
@@ -116,7 +116,7 @@ PacketSocket::DoBind (const PacketSocketAddress &address)
|
||||
}
|
||||
else
|
||||
{
|
||||
m_node->GetDevice (address.GetSingleDevice ());
|
||||
dev = m_node->GetDevice (address.GetSingleDevice ());
|
||||
}
|
||||
m_node->RegisterProtocolHandler (MakeCallback (&PacketSocket::ForwardUp, this),
|
||||
address.GetProtocol (), dev);
|
||||
|
||||
Reference in new issue
Block a user