Skip to content

Commit

Permalink
remove debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiSubira committed May 14, 2024
1 parent 2e0a8dc commit 243dcc2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/snet/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
"time"

"github.com/scionproto/scion/pkg/addr"
"github.com/scionproto/scion/pkg/log"
"github.com/scionproto/scion/pkg/private/serrors"
"github.com/scionproto/scion/private/topology"
)
Expand All @@ -47,13 +46,11 @@ func (c *scionConnWriter) WriteTo(b []byte, raddr net.Addr) (int, error) {
path DataplanePath
nextHop *net.UDPAddr
)
log.Debug("Writing to remote", "remote", raddr)

switch a := raddr.(type) {
case nil:
return 0, serrors.New("Missing remote address")
case *UDPAddr:
log.Debug("Writing to UDPAddr", "addr", a)
hostIP, ok := netip.AddrFromSlice(a.Host.IP)
if !ok {
return 0, serrors.New("invalid destination host IP", "ip", a.Host.IP)
Expand Down

0 comments on commit 243dcc2

Please sign in to comment.