log the *effective* pmtu when dropping frames

since that is more relevant
This commit is contained in:
Matthias Radestock committed 2014-08-27 21:38:18 +01:00
1 parent 7ccb361873
commit 41d3a6dc7c
1 file changed
+1 -1
+1 -1
View File
@@ -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