From 0a424dd06f2e1dd20c670035234fc6ea96e681b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Scheibe?= Date: Sat, 26 Sep 2015 14:34:47 +0200 Subject: [PATCH] fix typos --- protos/tcp/tcp.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/protos/tcp/tcp.go b/protos/tcp/tcp.go index f6ef1ae8fa80..4a241eae9555 100644 --- a/protos/tcp/tcp.go +++ b/protos/tcp/tcp.go @@ -122,7 +122,7 @@ func (tcp *Tcp) Process(tcphdr *layers.TCP, pkt *protos.Packet) { // don't follow return } - logp.Debug("tcp", "Stream doesn't exists, creating new") + logp.Debug("tcp", "Stream doesn't exist, creating new") // create stream = &TcpStream{id: tcp.getId(), tuple: &pkt.Tuple, protocol: protocol, tcp: tcp} @@ -143,8 +143,7 @@ func (tcp *Tcp) Process(tcphdr *layers.TCP, pkt *protos.Packet) { stream.lastSeq[original_dir] != 0 { if tcpSeqBeforeEq(tcp_seq, stream.lastSeq[original_dir]) { - - logp.Debug("tcp", "Ignoring what looks like a retrasmitted segment. pkt.seq=%v len=%v stream.seq=%v", + logp.Debug("tcp", "Ignoring what looks like a retransmitted segment. pkt.seq=%v len=%v stream.seq=%v", tcphdr.Seq, len(pkt.Payload), stream.lastSeq[original_dir]) return }