Skip to content

Commit 6ac45a1

Browse files
rhornigavarga
authored andcommitted
src: compatibility fixes to build and run with inet-4.6.0
1 parent 1074b34 commit 6ac45a1

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

src/simu5g/apps/vod/VodUdpClient.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include "simu5g/common/LteDefs.h"
2020
#include "simu5g/apps/vod/VoDPacket_m.h"
2121
#include "simu5g/apps/vod/VoDUDPStruct.h"
22-
#include <inet/transportlayer/contract/udp/UdpControlInfo.h>
2322
#include <inet/transportlayer/contract/udp/UdpSocket.h>
2423
#include <inet/networklayer/common/L3AddressResolver.h>
2524

src/simu5g/apps/vod/VodUdpServer.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
#include <fstream>
1616

17-
#include <inet/transportlayer/contract/udp/UdpControlInfo.h>
1817
#include <inet/transportlayer/contract/udp/UdpSocket.h>
1918
#include <inet/networklayer/common/L3AddressResolver.h>
2019

src/simu5g/mec/vi/VirtualisationInfrastructure.ned

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ package simu5g.mec.vi;
1414
import inet.common.MessageDispatcher;
1515
import inet.linklayer.contract.IEthernetInterface;
1616
import inet.linklayer.contract.ILoopbackInterface;
17-
import inet.linklayer.ethernet.contract.IEthernetLayer;
17+
import inet.linklayer.ethernet.contract.IEthernetLayer; // for inet-4.5
18+
import inet.linklayer.contract.IEthernetLayer; // for inet-4.6
1819
import inet.linklayer.ppp.PppInterface;
1920
import inet.networklayer.common.InterfaceTable;
2021
import inet.networklayer.contract.INetworkLayer;

src/simu5g/nodes/LteUe.ned

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ import inet.applications.contract.IApp;
1616
import inet.common.MessageDispatcher;
1717
import simu5g.stack.ICellularNic;
1818
import inet.common.packet.recorder.PcapRecorder;
19-
import inet.linklayer.ethernet.contract.IEthernetLayer;
19+
import inet.linklayer.contract.IEthernetLayer; // for inet-4.6
20+
import inet.linklayer.ethernet.contract.IEthernetLayer; // for inet-4.5
2021
import inet.linklayer.contract.IEthernetInterface;
2122
import inet.linklayer.contract.ILoopbackInterface;
2223
import inet.mobility.contract.IMobility;

src/simu5g/stack/mac/packet/LteMacPdu.msg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ cplusplus(LteMacPdu::copy) {{
144144
Packet *p1 = sdu[idx];
145145
Packet *p2 = other.sdu[idx];
146146
if (p1->getControlInfo() == nullptr && p2->getControlInfo() != nullptr) {
147-
p1->setControlInfo(p2->getControlInfo()->dup());
147+
// FIXME: this never worked. implement proper duplication
148+
// p1->setControlInfo(p2->getControlInfo()->dup());
148149
}
149150
}
150151
}}

0 commit comments

Comments
 (0)