You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2023/03/22 14:17:38 UTC

[plc4x] branch develop updated: fix(plc4go/spi): fix speedfactor output of pcap transport

This is an automated email from the ASF dual-hosted git repository.

sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new 7efe9c9226 fix(plc4go/spi): fix speedfactor output of pcap transport
7efe9c9226 is described below

commit 7efe9c9226280cbecda724279c45059d5c4e24f1
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Wed Mar 22 15:17:31 2023 +0100

    fix(plc4go/spi): fix speedfactor output of pcap transport
---
 plc4go/spi/transports/pcap/Transport.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plc4go/spi/transports/pcap/Transport.go b/plc4go/spi/transports/pcap/Transport.go
index 6e151ea351..6e21a044ab 100644
--- a/plc4go/spi/transports/pcap/Transport.go
+++ b/plc4go/spi/transports/pcap/Transport.go
@@ -200,5 +200,5 @@ func (m *TransportInstance) GetReader() *bufio.Reader {
 }
 
 func (m *TransportInstance) String() string {
-	return fmt.Sprintf("pcap:%s(%s)x%d", m.transportFile, m.portRange, m.speedFactor)
+	return fmt.Sprintf("pcap:%s(%s)x%f", m.transportFile, m.portRange, m.speedFactor)
 }