log the *effective* pmtu when dropping frames
since that is more relevant
This commit is contained in:
1 parent
7ccb361873
commit
41d3a6dc7c
1 file changed
+1
-1
+1
-1
@@ -118,7 +118,7 @@ func (conn *LocalConnection) forwarderLoop(forwardCh <-chan *ForwardedFrame, sto
|
||||
}
|
||||
}
|
||||
logDrop := func(frame *ForwardedFrame) {
|
||||
conn.log("dropping too big frame during forwarding: frame len:", len(frame.frame), "; PMTU:", pmtu)
|
||||
conn.log("dropping too big frame during forwarding: frame len:", len(frame.frame), "; effective PMTU:", effectivePMTU)
|
||||
}
|
||||
// We want to drain before exiting otherwise we could get the
|
||||
// packet sniffer or udp listener blocked on sending to a full
|
||||
|
||||
Reference in new issue
Block a user