Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
darxriggs committed Sep 26, 2015
1 parent e23799a commit 0a424dd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions protos/tcp/tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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
}
Expand Down

0 comments on commit 0a424dd

Please sign in to comment.