problem with protocol number fixed
This commit is contained in:
1 parent
44e149b17f
commit
2999079c83
8 files changed
+39
-14
No files matched your search
@@ -174,6 +174,7 @@ Ipv4RawSocketImpl::SendTo (Ptr<Packet> p, uint32_t flags,
|
||||
{
|
||||
Ipv4Header header;
|
||||
header.SetDestination (dst);
|
||||
header.SetProtocol (m_protocol);
|
||||
SocketErrno errno_ = ERROR_NOTERROR;//do not use errno as it is the standard C last error number
|
||||
Ptr<Ipv4Route> route;
|
||||
uint32_t oif = 0; //specify non-zero if bound to a source address
|
||||
|
||||
Reference in new issue
Block a user