make sure dev is initialized correctly when binding to more than one interface.

This commit is contained in:
Providence SALUMU MUNGA committed 2008-03-28 11:26:59 -07:00
1 parent 02dc54f597
commit 46cc3fab6d
1 file changed
+1 -1
+1 -1
View File
@@ -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);