mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[bugfix] update syslog tests to listen/connect specifically to ipv4 loopback (#561)
Signed-off-by: kim <grufwub@gmail.com>
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user