Skip to content

Commit d26a298

Browse files
committed
Fix gateway_id in log message.
1 parent 29609e5 commit d26a298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/integration/mqtt/backend.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ func (b *Backend) handleDownlinkFrame(c paho.Client, msg paho.Message) {
377377
}
378378

379379
var gatewayID lorawan.EUI64
380-
copy(gatewayID[:], downlinkFrame.Items[0].GetTxInfo().GetGatewayId())
380+
copy(gatewayID[:], downlinkFrame.GatewayId)
381381

382382
log.WithFields(log.Fields{
383383
"gateway_id": gatewayID,

0 commit comments

Comments
 (0)