We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7b2e21 commit e26cab9Copy full SHA for e26cab9
1 file changed
backend/pkg/vehicle/notification.go
@@ -55,8 +55,8 @@ func (vehicle *Vehicle) handlePacketNotification(notification transport.PacketNo
55
56
err = vehicle.logger.PushRecord(&data_logger.Record{
57
Packet: p,
58
- From: notification.From,
59
- To: notification.To,
+ From: vehicle.idToBoardName[uint16(vehicle.ipToBoardId[strings.Split(notification.From, ":")[0]])],
+ To: vehicle.idToBoardName[uint16(vehicle.ipToBoardId[strings.Split(notification.To, ":")[0]])],
60
Timestamp: notification.Timestamp,
61
})
62
0 commit comments