Skip to content

Commit

Permalink
Merge pull request #281 from darxriggs/tcp-fix-typo
Browse files Browse the repository at this point in the history
fix typos
  • Loading branch information
andrewkroh committed Sep 26, 2015
2 parents e23799a + 0a424dd commit 453f59c
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 453f59c

Please sign in to comment.