From 6427f0ec23d378445e49d3a7afe6841f1ff6f8d1 Mon Sep 17 00:00:00 2001 From: Bernhard Froehlich Date: Thu, 20 Dec 2018 11:11:28 +0000 Subject: [PATCH] Fix whitespace --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 34ae950..9b198e5 100644 --- a/main.go +++ b/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) {