fix(control): could not start display over wol

This commit is contained in:
2026-01-10 00:22:53 +01:00
parent 09adf5dba4
commit bdcb0a8ce3
+1 -1
View File
@@ -112,7 +112,7 @@ func wakeOnLanRoute(ctx echo.Context) error {
if err != nil {
return ctx.JSON(http.StatusInternalServerError, shared.ErrorResponse{Description: "Failed to create Wake-on-LAN client"})
}
if err := client.Wake("255.255.255.255", mac); err != nil {
if err := client.Wake("255.255.255.255:7", mac); err != nil {
return ctx.JSON(http.StatusInternalServerError, shared.ErrorResponse{Description: "Failed to send Wake-on-LAN packet"})
}