refactor: clear distinction between actual and effective pmtu
This commit is contained in:
1 parent
b350924a63
commit
f5e3450f0c
3 files changed
+16
-8
No files matched your search
@@ -30,6 +30,10 @@ func PosixError(err error) error {
|
||||
return operr.Err
|
||||
}
|
||||
|
||||
func (mtbe MsgTooBigError) Error() string {
|
||||
return fmt.Sprint("Msg too big error. PMTU is ", mtbe.PMTU)
|
||||
}
|
||||
|
||||
func (ftbe FrameTooBigError) Error() string {
|
||||
return fmt.Sprint("Frame too big error. PMTU is ", ftbe.PMTU)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user