From 6345fdd20a172fc2e568487c391246307b9cd757 Mon Sep 17 00:00:00 2001 From: zabio3 Date: Tue, 12 Mar 2019 18:11:39 +0900 Subject: Fixed typos --- pkg/packet/bgp/bgp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/packet/bgp') diff --git a/pkg/packet/bgp/bgp.go b/pkg/packet/bgp/bgp.go index d78e04b6..c66d4a70 100644 --- a/pkg/packet/bgp/bgp.go +++ b/pkg/packet/bgp/bgp.go @@ -12452,7 +12452,7 @@ type BGPNotification struct { func (msg *BGPNotification) DecodeFromBytes(data []byte, options ...*MarshallingOption) error { if len(data) < 2 { - return NewMessageError(BGP_ERROR_MESSAGE_HEADER_ERROR, BGP_ERROR_SUB_BAD_MESSAGE_LENGTH, nil, "Not all Notificaiton bytes available") + return NewMessageError(BGP_ERROR_MESSAGE_HEADER_ERROR, BGP_ERROR_SUB_BAD_MESSAGE_LENGTH, nil, "Not all Notification bytes available") } msg.ErrorCode = data[0] msg.ErrorSubcode = data[1] -- cgit v1.2.3