From be49324f0db34299073e13619839542abadb78c3 Mon Sep 17 00:00:00 2001 From: Levente Meszaros Date: Fri, 16 Feb 2024 16:51:29 +0100 Subject: [PATCH] EthernetLink: Changed base channel to Cable to display disabled/enabled state. --- src/inet/node/ethernet/EthernetLink.ned | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/inet/node/ethernet/EthernetLink.ned b/src/inet/node/ethernet/EthernetLink.ned index 06f94fa0136..c8aed873931 100644 --- a/src/inet/node/ethernet/EthernetLink.ned +++ b/src/inet/node/ethernet/EthernetLink.ned @@ -7,13 +7,13 @@ package inet.node.ethernet; -import ned.DatarateChannel; +import inet.common.Cable; // // Base for Ethernet link types. Propagation delay can be specified with the // length of the cable, i.e. in meters instead of nanoseconds or microseconds. // -channel EthernetLink extends DatarateChannel +channel EthernetLink extends Cable { double length @unit(m) = default(10m); delay = default(replaceUnit(length / 2e8, "s"));