Fix domain endpoint reason message

This commit is contained in:
Daniel 2020-05-18 15:25:08 +02:00
parent 11d3e15de4
commit bdcf499f22

View file

@ -31,7 +31,7 @@ type EndpointDomain struct {
}
func (ep *EndpointDomain) check(entity *intel.Entity, domain string) (EPResult, Reason) {
result, reason := ep.match(ep, entity, ep.Domain, "domain matches")
result, reason := ep.match(ep, entity, ep.OriginalValue, "domain matches")
switch ep.MatchType {
case domainMatchTypeExact: