go fiche
This commit is contained in:
1 parent
d9c4c90936
commit
a28822f121
2 files changed
+2
-2
No files matched your search
@@ -12,7 +12,7 @@ import (
|
||||
"github.com/spf13/viper"
|
||||
)
|
||||
|
||||
func handleConnection(conn net.Conn) {
|
||||
func fiche(conn net.Conn) {
|
||||
remoteHost, err := net.LookupCNAME(conn.RemoteAddr().String())
|
||||
if err != nil {
|
||||
remoteHost = conn.RemoteAddr().String()
|
||||
|
||||
Reference in new issue
Block a user