diff --git a/simulation/src/network/model/node.cc b/simulation/src/network/model/node.cc index 0f08d456b..516bd3b33 100644 --- a/simulation/src/network/model/node.cc +++ b/simulation/src/network/model/node.cc @@ -347,6 +347,7 @@ Node::GetNodeType() bool Node::SwitchReceiveFromDevice(Ptr device, Ptr packet, CustomHeader &ch){ NS_ASSERT_MSG(false, "Calling SwitchReceiveFromDevice() on a non-switch node or this function is not implemented"); + return false; } void Node::SwitchNotifyDequeue(uint32_t ifIndex, uint32_t qIndex, Ptr p){