ing
This commit is contained in:
@@ -109,8 +109,8 @@ func (t *DNSMatcher) Match(info matcher.MatchInfo, index int, packet *matcher.Pa
|
||||
return true
|
||||
}
|
||||
|
||||
func (t *DNSMatcher) IsSend(info matcher.MatchInfo) bool {
|
||||
if 53 == info.Port() {
|
||||
func (t *DNSMatcher) IsSend(port int) bool {
|
||||
if 53 == port {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user