From 7ba1d66e8c0ff0e06561776b58238d43b16a97bd Mon Sep 17 00:00:00 2001 From: Tim Schubert Date: Sat, 18 Jul 2020 11:56:13 +0200 Subject: [PATCH] fixup --- model/isl-mock-channel.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/model/isl-mock-channel.cc b/model/isl-mock-channel.cc index 4e9b697..76fd592 100644 --- a/model/isl-mock-channel.cc +++ b/model/isl-mock-channel.cc @@ -73,7 +73,8 @@ IslMockChannel::TransmitStart ( for (size_t i = 0; i < GetNDevices (); i ++) { if (i == srcId) continue; - Deliver (p, src, GetDevice (i), txTime); + dst = DynamicCast (GetDevice (i)); + Deliver (p, src, dst, txTime); } return true; }