diff --git a/protocols/bgp/packet/path_attributes.go b/protocols/bgp/packet/path_attributes.go
index f238cfd65037c01437144d387aee5ed030e2601d..976dcb07303820c58552840beae6d9fe048573af 100644
--- a/protocols/bgp/packet/path_attributes.go
+++ b/protocols/bgp/packet/path_attributes.go
@@ -245,7 +245,7 @@ func (pa *PathAttribute) decodeAggregator(buf *bytes.Buffer) error {
 
 func (pa *PathAttribute) decodeCommunities(buf *bytes.Buffer) error {
 	if pa.Length%CommunityLen != 0 {
-		return fmt.Errorf("Unable to read community path attribute length %d is not divisible by 4", pa.Length)
+		return fmt.Errorf("Unable to read community path attribute. Length %d is not divisible by 4", pa.Length)
 	}
 
 	count := pa.Length / CommunityLen