refactor: clear distinction between actual and effective pmtu

This commit is contained in:
Matthias Radestock committed 2014-08-27 17:27:14 +01:00
1 parent b350924a63
commit f5e3450f0c
3 files changed
+16 -8

No files matched your search

+4
View File
@@ -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)
}