Patch Hello world pattern

This commit is contained in:
Benjamin 2022-03-20 13:53:34 +01:00
parent c9f317f931
commit 52032b5676
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ func main() {
===== Init all Write here ===== ===== Init all Write here =====
*/ */
// Creation of the HelloRule // 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) protocolRepository.AddWriter(&helloRule)
// Creation of the SendOkRule // Creation of the SendOkRule

View File

@ -1,5 +1,5 @@
{ {
"multicastNetworkInterface" : "wlp1s0", "multicastNetworkInterface" : "tun0",
"multicastAddress" : "224.66.66.1:15502", "multicastAddress" : "224.66.66.1:15502",
"multicastSecond" : 30, "multicastSecond" : 30,
"domain" : "lightcontainerSB01", "domain" : "lightcontainerSB01",