From 70eb4fd69d05d9537aa70918537e11c318f83e4e Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 16 Nov 2018 19:30:05 -0800 Subject: [PATCH] Allow waking non-paired hosts --- Limelight/ViewControllers/MainFrameViewController.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Limelight/ViewControllers/MainFrameViewController.m b/Limelight/ViewControllers/MainFrameViewController.m index a2a5cb1..db84f7c 100644 --- a/Limelight/ViewControllers/MainFrameViewController.m +++ b/Limelight/ViewControllers/MainFrameViewController.m @@ -382,9 +382,7 @@ static NSMutableSet* hostList; [longClickAlert addAction:[UIAlertAction actionWithTitle:@"Wake" style:UIAlertActionStyleDefault handler:^(UIAlertAction* action){ UIAlertController* wolAlert = [UIAlertController alertControllerWithTitle:@"Wake On LAN" message:@"" preferredStyle:UIAlertControllerStyleAlert]; [wolAlert addAction:[UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDefault handler:nil]]; - if (host.pairState != PairStatePaired) { - wolAlert.message = @"Cannot wake host because you are not paired"; - } else if (host.mac == nil || [host.mac isEqualToString:@"00:00:00:00:00:00"]) { + if (host.mac == nil || [host.mac isEqualToString:@"00:00:00:00:00:00"]) { wolAlert.message = @"Host MAC unknown, unable to send WOL Packet"; } else { dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{