From 52032b56762bdd9f1e2701a294579c2e930fa6da Mon Sep 17 00:00:00 2001 From: Benjamin Date: Sun, 20 Mar 2022 13:53:34 +0100 Subject: [PATCH] Patch Hello world pattern --- cmd/main.go | 2 +- resources/AppConfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/main.go b/cmd/main.go index 0045f6e..fcab6aa 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -36,7 +36,7 @@ func main() { ===== Init all Write here ===== */ // Creation of the HelloRule - helloRule := writers.CreateHelloRule("^HELLO ([A-Za-z0-9]{5,20}) ([0-9]{1,5})\r\n$") + helloRule := writers.CreateHelloRule("^HELLO ([A-Za-z0-9.]{5,20}) ([0-9]{1,5})\r\n$") protocolRepository.AddWriter(&helloRule) // Creation of the SendOkRule diff --git a/resources/AppConfig.json b/resources/AppConfig.json index 0fe2c77..f7d1e6f 100644 --- a/resources/AppConfig.json +++ b/resources/AppConfig.json @@ -1,5 +1,5 @@ { - "multicastNetworkInterface" : "wlp1s0", + "multicastNetworkInterface" : "tun0", "multicastAddress" : "224.66.66.1:15502", "multicastSecond" : 30, "domain" : "lightcontainerSB01",