We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e721cc8 commit f472e71Copy full SHA for f472e71
1 file changed
header/tcp.go
@@ -79,7 +79,7 @@ func TCPRecv(address string, forward bool) {
79
var layer uint8
80
if forward {
81
if address[0] == ':' {
82
- filter = fmt.Sprintf("tcp.SrcPort == %d and (", address[1:])
+ filter = fmt.Sprintf("tcp.SrcPort == %s and (", address[1:])
83
} else {
84
filter = fmt.Sprintf("ip.SrcAddr = %s and tcp.SrcPort == %d and (", tcpAddr.IP.String(), tcpAddr.Port)
85
}
0 commit comments