Re-add required log statement
@@ -32,6 +32,7 @@ import (
"github.com/scionproto/scion/go/lib/revcache"
"github.com/scionproto/scion/go/lib/scrypto"
"github.com/scionproto/scion/go/lib/scrypto/trc"
+ "github.com/scionproto/scion/go/lib/snet"
"github.com/scionproto/scion/go/path_srv/internal/segutil"
"github.com/scionproto/scion/go/proto"
)
@@ -125,6 +126,10 @@ func (h *segReqHandler) fetchAndSaveSegs(ctx context.Context, msger infra.Messen
logger := log.FromCtx(ctx)
queryTime := time.Now()
r := &path_mgmt.SegReq{RawSrcIA: src.IAInt(), RawDstIA: dst.IAInt()}
+ // The logging below is used for acceptance testing do not delete!
+ if snetAddr, ok := cPSAddr.(*snet.Addr); ok {
+ logger.Trace("[segReqHandler] Sending segment request", "NextHop", snetAddr.NextHop)
+ }
segs, err := h.getSegsFromNetwork(ctx, r, cPSAddr, messenger.NextId())
if err != nil {
return err
