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

(-)a/src/node/packet-socket.cc (-1 / +4 lines)
 Lines 358-364    Link Here 
358
    {
358
    {
359
      return;
359
      return;
360
    }
360
    }
361
361
  if (!HasDataRecvCallback ())
362
    {
363
      return;
364
    }
362
365
363
  PacketSocketAddress address;
366
  PacketSocketAddress address;
364
  address.SetPhysicalAddress (from);
367
  address.SetPhysicalAddress (from);
(-)a/src/node/socket.h (+1 lines)
 Lines 555-560    Link Here 
555
  void NotifyDataSent (uint32_t size);
555
  void NotifyDataSent (uint32_t size);
556
  void NotifySend (uint32_t spaceAvailable);
556
  void NotifySend (uint32_t spaceAvailable);
557
  void NotifyDataRecv (void);
557
  void NotifyDataRecv (void);
558
  bool HasDataRecvCallback () const { return !m_receivedData.IsNull (); }
558
  virtual void DoDispose (void);
559
  virtual void DoDispose (void);
559
  Ptr<NetDevice> m_boundnetdevice;
560
  Ptr<NetDevice> m_boundnetdevice;
560
private:
561
private:

Return to bug 833