This commit is contained in:
Cody Lee 2024-12-31 14:47:06 -06:00
parent b372198840
commit 78f30e0056
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -21,8 +21,8 @@ func (u *DatadogUnifi) batchIDs(r report, i *unifi.IDS) { // nolint:dupl
} }
tagMap := map[string]string{ tagMap := map[string]string{
"dest_port": strconv.Itoa(i.DestPort), "dest_port": strconv.Itoa(i.DestPort.Int()),
"src_port": strconv.Itoa(i.SrcPort), "src_port": strconv.Itoa(i.SrcPort.Int()),
"dest_ip": i.DestIP, "dest_ip": i.DestIP,
"dst_mac": i.DstMAC, "dst_mac": i.DstMAC,
"host": i.Host, "host": i.Host,