Skip to content

Commit

Permalink
packetPool: ignore TEI and let the caller decide what to do
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm1 committed Apr 5, 2021
1 parent 077af8e commit ee5d534
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packet_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ func newPacketPool() *packetPool {

// add adds a new packet to the pool
func (b *packetPool) add(p *Packet) (ps []*Packet) {
// Throw away packet if error indicator
if p.Header.TransportErrorIndicator {
return
}

// Throw away packets that don't have a payload until we figure out what we're going to do with them
// TODO figure out what we're going to do with them :D
if !p.Header.HasPayload {
Expand Down

0 comments on commit ee5d534

Please sign in to comment.