Bugzilla – Bug 899
EmuNetDevice::SetPromiscReceiveCallback not implemented
Last modified: 2010-04-28 10:19:21 UTC
EmuNetDevice::SetPromiscReceiveCallback is not implemented: void EmuNetDevice::SetPromiscReceiveCallback (PromiscReceiveCallback cb) { NS_FATAL_ERROR ("EmuNetDevice::SetPromiscReceiveCallback(): Not implemented"); } The correct implementation is trivial, as ForwardUp already takes care to use m_promiscRxCallback if set. Change to: void EmuNetDevice::SetPromiscReceiveCallback (PromiscReceiveCallback cb) { m_promiscRxCallback = cb; }
Created attachment 851 [details] the patch
changeset ba09ab600218