Skip to content

Commit 6b3300a

Browse files
authored
misc
1 parent 1831f4a commit 6b3300a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

engine/plugins/dns/txt.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,13 @@ func (d *dnsTXT) store(e *et.Event, fqdn *dbt.Entity, rr []*resolve.ExtractedAns
8181
continue
8282
}
8383

84-
// Create a property for the TXT record data
84+
8585
_, _ = e.Session.Cache().CreateEntityProperty(fqdn, &oamdns.BasicDNSRelation{
8686
Name: "TXT",
8787
Header: oamdns.RRHeader{
8888
RRType: int(record.Type),
8989
Class: 1,
9090
},
91-
// Assuming Data is not a field in BasicDNSRelation, we will use a different approach
92-
// Data: record.Data,
9391
})
9492
}
9593
}

0 commit comments

Comments
 (0)