Skip to content

Commit

Permalink
fix: handle inbound metrics ack for inverter
Browse files Browse the repository at this point in the history
  • Loading branch information
smlx committed Dec 15, 2023
1 parent 09beb9d commit 4f9be50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mitm/inbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func (h *InboundPacketHandler) HandlePacket(
expectedBodySize, len(bodyData))
}
switch header.PacketType {
case meterMetricsAck0, meterMetricsAck1, meterMetricsAck2:
case meterMetricsAck0, meterMetricsAck1, meterMetricsAck2, inverterMetricsAck:
if err := handleMetricsAckPacket(bodyData, log); err != nil {
return nil, nil, fmt.Errorf("couldn't handle metrics ack packet: %v", err)
}
Expand Down

0 comments on commit 4f9be50

Please sign in to comment.