listener->pc

Spotted by @welwood08
This commit is contained in:
Frank Denis 2020-04-26 16:19:49 +02:00
parent 52f87aee8e
commit 12219c7490
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ func (proxy *Proxy) addSystemDListeners() error {
proxy.tcpListener = append(proxy.tcpListener, listener.(*net.TCPListener))
} else if pc, err := net.FilePacketConn(file); err == nil {
dlog.Noticef("Wiring systemd UDP socket #%d, %s, %s", i, file.Name(), pc.LocalAddr())
proxy.udpListener = append(proxy.udpListener, listener.(*net.UDPConn))
proxy.udpListener = append(proxy.udpListener, pc.(*net.UDPConn))
}
}
return nil