problem with protocol number fixed

This commit is contained in:
Borovkova Elena
2009-08-18 14:48:12 +04:00
parent 44e149b17f
commit 2999079c83
8 changed files with 39 additions and 14 deletions

View File

@@ -403,6 +403,7 @@ UdpSocketImpl::DoSendTo (Ptr<Packet> p, Ipv4Address dest, uint16_t port)
{
Ipv4Header header;
header.SetDestination (dest);
header.SetProtocol (UdpL4Protocol::PROT_NUMBER);
Socket::SocketErrno errno_;
Ptr<Ipv4Route> route;
uint32_t oif = 0; //specify non-zero if bound to a source address