mirror of
https://github.com/decke/smtprelay.git
synced 2025-12-26 04:22:30 -07:00
peerIP = net.ParseIP(addr.IP.String())
can be simplified to just:
peerIP = addr.IP
but we can also skip the safe cast since we know the net.Addr will always
be net.TCPAddr because we only have TCP listeners.
8.9 KiB
8.9 KiB