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 2022/10/28 18:07:58 UTC
[plc4x] 04/05: feat(plc4xpcapanalyzer): set default output lines for outputs to now crash application on big pcaps
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
commit decb3b9ca523842ab109d41a3bbcfd3c7825ce37
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Fri Oct 28 18:55:01 2022 +0200
feat(plc4xpcapanalyzer): set default output lines for outputs to now crash application on big pcaps
---
plc4go/tools/plc4xpcapanalyzer/ui/config.go | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/plc4go/tools/plc4xpcapanalyzer/ui/config.go b/plc4go/tools/plc4xpcapanalyzer/ui/config.go
index 100f8c440..f856ef362 100644
--- a/plc4go/tools/plc4xpcapanalyzer/ui/config.go
+++ b/plc4go/tools/plc4xpcapanalyzer/ui/config.go
@@ -31,7 +31,10 @@ import (
var plc4xpcapanalyzerConfigDir string
var configFile string
-var config Config
+var config = Config{
+ MaxConsoleLines: 500,
+ MaxOutputLines: 500,
+}
type Config struct {
HostIp string `yaml:"host_ip"`