From 78f30e0056f74f1d28d800b53396f551c59916c7 Mon Sep 17 00:00:00 2001 From: Cody Lee Date: Tue, 31 Dec 2024 14:47:06 -0600 Subject: [PATCH] fix vet --- pkg/datadogunifi/events.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/datadogunifi/events.go b/pkg/datadogunifi/events.go index c1fa086c..2b66e4f9 100644 --- a/pkg/datadogunifi/events.go +++ b/pkg/datadogunifi/events.go @@ -21,8 +21,8 @@ func (u *DatadogUnifi) batchIDs(r report, i *unifi.IDS) { // nolint:dupl } tagMap := map[string]string{ - "dest_port": strconv.Itoa(i.DestPort), - "src_port": strconv.Itoa(i.SrcPort), + "dest_port": strconv.Itoa(i.DestPort.Int()), + "src_port": strconv.Itoa(i.SrcPort.Int()), "dest_ip": i.DestIP, "dst_mac": i.DstMAC, "host": i.Host,