1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 19:17:38 +08:00

fix protocol

This commit is contained in:
Mrs4s 2022-12-07 03:31:01 +08:00
parent 4658474c60
commit cf66e28647
No known key found for this signature in database
GPG Key ID: 3186E98FA19CE3A7

View File

@ -134,7 +134,7 @@ func (info *Device) ReadJson(d []byte) error {
} }
switch f.Protocol { switch f.Protocol {
case 1, 2, 3, 4, 5: case 1, 2, 3, 4, 5, 6:
info.Protocol = Protocol(f.Protocol) info.Protocol = Protocol(f.Protocol)
default: default:
info.Protocol = IPad info.Protocol = IPad