mirror of
https://github.com/decke/smtprelay.git
synced 2025-12-25 16:02:31 -07:00
Fix whitespace
This commit is contained in:
4
main.go
4
main.go
@@ -43,9 +43,9 @@ func connectionChecker(peer smtpd.Peer) error {
|
||||
return smtpd.Error{Code: 552, Message: "Denied"}
|
||||
}
|
||||
|
||||
nets := strings.Split(*allowedNets, " ")
|
||||
nets := strings.Split(*allowedNets, " ")
|
||||
|
||||
for i := range(nets) {
|
||||
for i := range(nets) {
|
||||
_, allowedNet, _ := net.ParseCIDR(nets[i])
|
||||
|
||||
if allowedNet.Contains(peerIP) {
|
||||
|
||||
Reference in New Issue
Block a user