Skip to content

Commit

Permalink
Fix gateway_id in log message.
Browse files Browse the repository at this point in the history
  • Loading branch information
brocaar committed Jun 18, 2020
1 parent 29609e5 commit d26a298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/integration/mqtt/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ func (b *Backend) handleDownlinkFrame(c paho.Client, msg paho.Message) {
}

var gatewayID lorawan.EUI64
copy(gatewayID[:], downlinkFrame.Items[0].GetTxInfo().GetGatewayId())
copy(gatewayID[:], downlinkFrame.GatewayId)

log.WithFields(log.Fields{
"gateway_id": gatewayID,
Expand Down

0 comments on commit d26a298

Please sign in to comment.