diff --git a/forwarder.go b/forwarder.go index 8114106f..c316e1c6 100644 --- a/forwarder.go +++ b/forwarder.go @@ -200,7 +200,7 @@ func (conn *LocalConnection) Forward(df bool, frame *ForwardedFrame, dec *Ethern forwardChanDF <- frame return nil } else { - return FrameTooBigError{PMTU: clientPMTU, frame: frame} + return FrameTooBigError{PMTU: clientPMTU} } } else { if stackFrag || dec == nil || len(dec.decoded) < 2 { diff --git a/types.go b/types.go index 222b9422..971886af 100644 --- a/types.go +++ b/types.go @@ -100,7 +100,6 @@ type EthernetDecoder struct { type FrameTooBigError struct { PMTU int - frame *ForwardedFrame } type UnknownPeersError struct {