From 91428b851cdb09b82011ff4e4f66d6b9d3ccdddd Mon Sep 17 00:00:00 2001 From: F5 Date: Sat, 29 Oct 2022 22:00:57 +0800 Subject: [PATCH] network: Make simple channel supporting automatic partition --- src/network/utils/simple-net-device.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/network/utils/simple-net-device.cc b/src/network/utils/simple-net-device.cc index 23111449b..79f1527d4 100644 --- a/src/network/utils/simple-net-device.cc +++ b/src/network/utils/simple-net-device.cc @@ -406,7 +406,11 @@ SimpleNetDevice::IsPointToPoint (void) const { return true; } +#ifdef NS3_MTP + return true; +#else return false; +#endif } bool