View | Details | Raw Unified | Return to bug 2135
Collapse All | Expand All

(-)a/src/internet/model/tcp-l4-protocol.cc (-2 lines)
 Lines 541-547    Link Here 
541
      header.SetProtocol (PROT_NUMBER);
541
      header.SetProtocol (PROT_NUMBER);
542
      Socket::SocketErrno errno_;
542
      Socket::SocketErrno errno_;
543
      Ptr<Ipv4Route> route;
543
      Ptr<Ipv4Route> route;
544
      Ptr<NetDevice> oif (0); //specify non-zero if bound to a source address
545
      if (ipv4->GetRoutingProtocol () != 0)
544
      if (ipv4->GetRoutingProtocol () != 0)
546
        {
545
        {
547
          route = ipv4->GetRoutingProtocol ()->RouteOutput (packet, header, oif, errno_);
546
          route = ipv4->GetRoutingProtocol ()->RouteOutput (packet, header, oif, errno_);
 Lines 585-591    Link Here 
585
      header.SetNextHeader (PROT_NUMBER);
584
      header.SetNextHeader (PROT_NUMBER);
586
      Socket::SocketErrno errno_;
585
      Socket::SocketErrno errno_;
587
      Ptr<Ipv6Route> route;
586
      Ptr<Ipv6Route> route;
588
      Ptr<NetDevice> oif (0); //specify non-zero if bound to a source address
589
      if (ipv6->GetRoutingProtocol () != 0)
587
      if (ipv6->GetRoutingProtocol () != 0)
590
        {
588
        {
591
          route = ipv6->GetRoutingProtocol ()->RouteOutput (packet, header, oif, errno_);
589
          route = ipv6->GetRoutingProtocol ()->RouteOutput (packet, header, oif, errno_);

Return to bug 2135