icmp: fix ExtendedEchoRequest extension object

RFC8335 [1] stats: "When applied to the ICMP
   Extended Echo Request message, the ICMP Extension Structure MUST
   contain exactly one instance of the Interface Identification Object."

The InterfaceIdent by name object seems to be a copy/paste issue.

[1]: https://www.rfc-editor.org/rfc/rfc8335.txt
This commit is contained in:
uhei
2018-11-01 16:32:10 +01:00
committed by GitHub
parent c44066c5c8
commit 73f963c5dc

View File

@@ -232,11 +232,6 @@ func TestMarshalAndParseMultipartMessage(t *testing.T) {
Type: 2,
Index: 911,
},
&icmp.InterfaceIdent{
Class: 3,
Type: 1,
Name: "en101",
},
},
},
},