Skip to content

Commit a70b0c9

Browse files
committed
Remove debug println
1 parent d686aae commit a70b0c9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

decoder/decoder.go

-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package decoder
22

33
import (
44
"bytes"
5-
"fmt"
65
"hash"
76
"os"
87
"strconv"
@@ -99,7 +98,6 @@ func (d *Decoder) Process(data []byte, ci *gopacket.CaptureInfo) (*Packet, error
9998

10099
if config.Cfg.Dedup {
101100
d.SIPHash.Write(ip4.Payload)
102-
//key := fastHash(ip4.Payload)
103101
key := strconv.FormatUint(d.SIPHash.Sum64(), 10)
104102
d.SIPHash.Reset()
105103
_, dup := d.SIPCache.Get(key)
@@ -264,8 +262,6 @@ func (d *Decoder) correlateRTCP(payload []byte) ([]byte, []byte, byte) {
264262
if corrID, ok := d.SDPCache.Get(d.FlowSrcIP + d.FlowSrcPort); ok {
265263
logp.Debug("decoder", "SDPCache RTCP JSON payload: %s", string(jsonRTCP))
266264
d.RTCPCache.Add(d.FlowSrcIP+d.FlowSrcPort, corrID)
267-
fmt.Println(string(jsonRTCP))
268-
fmt.Println(string(corrID))
269265
return jsonRTCP, corrID, 5
270266
} else if corrID, ok := d.RTCPCache.Get(d.FlowSrcIP + d.FlowSrcPort); ok {
271267
logp.Debug("decoder", "RTCPCache RTCP JSON payload: %s", string(jsonRTCP))

0 commit comments

Comments
 (0)