From bd07937466d95b7a1b6663c665a88d97c9684b37 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sun, 26 Mar 2017 15:30:19 -0700 Subject: [PATCH] tun2: call F() --- lib/tun2/server.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/tun2/server.go b/lib/tun2/server.go index ec5b3d6..a2e0004 100644 --- a/lib/tun2/server.go +++ b/lib/tun2/server.go @@ -285,7 +285,7 @@ func (s *Server) HandleConn(c net.Conn, isKCP bool) { ln.Log(ln.F{ "action": "backend_connected", - }, connection) + }, connection.F()) s.connlock.Lock() s.conns[c] = connection @@ -341,7 +341,7 @@ func (s *Server) RoundTrip(req *http.Request) (*http.Response, error) { "remote_addr": req.RemoteAddr, "host": req.Host, "uri": req.RequestURI, - }, c) + }, c.F()) c.cancel() @@ -356,7 +356,7 @@ func (s *Server) RoundTrip(req *http.Request) (*http.Response, error) { "remote_addr": req.RemoteAddr, "host": req.Host, "uri": req.RequestURI, - }, c) + }, c.F()) c.cancel() @@ -372,7 +372,7 @@ func (s *Server) RoundTrip(req *http.Request) (*http.Response, error) { "remote_addr": req.RemoteAddr, "host": req.Host, "uri": req.RequestURI, - }, c) + }, c.F()) c.cancel()