add missing Ptr<Packet> argument. Pointed out by josh pelkey

This commit is contained in:
Mathieu Lacage committed 2009-06-29 13:24:10 +02:00
1 parent 0fd3dc8487
commit ee31b9fcfe
1 file changed
+1 -1
+1 -1
View File
@@ -187,7 +187,7 @@ for forwarded packets) is still the same.
+ typedef Callback&lt;void, Ptr&lt;const Packet&gt;, const Ipv4Header &, uint32_t &gt; LocalDeliverCallback;
+ typedef Callback&lt;void, Ptr&lt;const Packet&gt;, const Ipv4Header &&gt; ErrorCallback;
- virtual bool RequestInterface (Ipv4Address destination, uint32_t& interface) = 0;
+ virtual Ptr&lt;Ipv4Route&gt; RouteOutput (const Ipv4Header &header, uint32_t oif, Socket::SocketErrno &errno) = 0;
+ virtual Ptr&lt;Ipv4Route&gt; RouteOutput (Ptr<Packet> p, const Ipv4Header &header, uint32_t oif, Socket::SocketErrno &errno) = 0;
- virtual bool RequestRoute (uint32_t interface,
- const Ipv4Header &ipHeader,
- Ptr&lt;Packet&gt; packet,