No need to make NetDevice::SendFrom pure virtual; instead just give a fatal error if used in runtime (it's only used by the learning bridge, anyway, so...).

This commit is contained in:
Gustavo J. A. M. Carneiro committed 2008-07-18 11:41:22 +01:00
1 parent c3987ca6d0
commit ca47bdc908
4 files changed
+7 -8

No files matched your search

+1 -1
View File
@@ -228,7 +228,7 @@ public:
*
* \return whether the Send operation succeeded
*/
virtual bool SendFrom(Ptr<Packet> packet, const Address& source, const Address& dest, uint16_t protocolNumber) = 0;
virtual bool SendFrom(Ptr<Packet> packet, const Address& source, const Address& dest, uint16_t protocolNumber);
/**
* \returns the node base class which contains this network
* interface.