This commit is contained in:
Matthias Radestock committed 2014-08-22 10:46:10 +01:00
1 parent 775a603a2c
commit bbafba4fe8
1 file changed
+2 -3
+2 -3
View File
@@ -61,11 +61,10 @@ func (dec *EthernetDecoder) formICMPMTUPacket(mtu int) ([]byte, error) {
Id: 0,
Seq: uint16(mtu)},
&payload)
if err == nil {
return buf.Bytes(), nil
} else {
if err != nil {
return []byte{}, err
}
return buf.Bytes(), nil
}
var (