Commit 226b5fc6 authored by Russ Cox's avatar Russ Cox

syslog: use local network for tests

R=r
CC=golang-dev
https://golang.org/cl/1724042
parent fc090a3a
......@@ -26,7 +26,7 @@ func runSyslog(c net.PacketConn, done chan<- string) {
}
func startServer(done chan<- string) {
c, e := net.ListenPacket("udp", ":0")
c, e := net.ListenPacket("udp", "127.0.0.1:0")
if e != nil {
log.Exitf("net.ListenPacket failed udp :0 %v", e)
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment