ing
This commit is contained in:
@@ -13,7 +13,7 @@ type POPMatcher struct {
|
||||
}
|
||||
|
||||
func (p *POPMatcher) ServiceName() string {
|
||||
return "POPMatcher"
|
||||
return "POP3"
|
||||
}
|
||||
|
||||
func (p *POPMatcher) IsPrePacket() bool {
|
||||
|
||||
@@ -82,8 +82,8 @@ func registerUDPMatcher(m matcher.UDPMatcher) {
|
||||
UDPMatchers = append(UDPMatchers, m)
|
||||
}
|
||||
|
||||
func GetTCPMatchers(ispre bool) []matcher.Matcher {
|
||||
if ispre {
|
||||
func GetTCPMatchers(isPrePacket bool) []matcher.Matcher {
|
||||
if isPrePacket {
|
||||
return TCPPrePacketMatchers
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user