--- a/src/lte/model/lte-ue-net-device.cc Tue Jul 02 23:08:26 2013 +0200
+++ b/src/lte/model/lte-ue-net-device.cc Wed Jul 03 15:46:49 2013 +0200
@@ -200,8 +200,11 @@
LteUeNetDevice::Send (Ptr<Packet> packet, const Address& dest, uint16_t protocolNumber)
{
NS_LOG_FUNCTION (this << dest << protocolNumber);
- NS_ASSERT_MSG (protocolNumber == Ipv4L3Protocol::PROT_NUMBER, "unsupported protocol " << protocolNumber << ", only IPv4 is supported");
-
+ if (protocolNumber != Ipv4L3Protocol::PROT_NUMBER)
+ {
+ NS_LOG_INFO("unsupported protocol " << protocolNumber << ", only IPv4 is supported");
+ return true;
+ }
return m_nas->Send (packet);
}