summaryrefslogtreecommitdiff
path: root/testrig/log.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2022-05-13 12:35:41 +0100
committerLibravatar GitHub <noreply@github.com>2022-05-13 13:35:41 +0200
commit9f2a2abe42a6211df6970ba7625d245298778a38 (patch)
tree3de46925384ecc3ff5a1cf50ab25654b50d6fd20 /testrig/log.go
parent[bugfix] Fix server trying to listen twice on same address when l.e. enabled ... (diff)
downloadgotosocial-9f2a2abe42a6211df6970ba7625d245298778a38.tar.xz
[bugfix] update syslog tests to listen/connect specifically to ipv4 loopback (#561)
Signed-off-by: kim <grufwub@gmail.com>
Diffstat (limited to 'testrig/log.go')
-rw-r--r--testrig/log.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/testrig/log.go b/testrig/log.go
index 68d548260..1dbba83b5 100644
--- a/testrig/log.go
+++ b/testrig/log.go
@@ -43,7 +43,7 @@ func InitTestSyslog() (*syslog.Server, chan format.LogParts, error) {
server.SetFormat(syslog.Automatic)
server.SetHandler(handler)
- if err := server.ListenUDP("localhost:42069"); err != nil {
+ if err := server.ListenUDP("127.0.0.1:42069"); err != nil {
return nil, nil, err
}