]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
wakeonlan.cgi: Fix meta refresh tag
authorLeo-Andres Hofmann <hofmann@leo-andres.de>
Wed, 20 Apr 2022 12:13:09 +0000 (14:13 +0200)
committerPeter Müller <peter.mueller@ipfire.org>
Sun, 24 Apr 2022 19:13:51 +0000 (19:13 +0000)
This fixes an HTML error that is briefly visible
on the "magic packet sent" page.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
html/cgi-bin/wakeonlan.cgi

index c3c4c6911b2fe085136eca316c84a85f62203575..e88448964da973d1f62b619c7f7033d1598d3b88 100644 (file)
@@ -173,10 +173,10 @@ if ( $cgiparams{'ACTION'} eq 'wakeup' )
 
   &General::system("/usr/sbin/etherwake", "-i", "$iface", "$mac");
 
-  # make a box with info, 'refresh' to normal screen after 5 seconds
+  # make a box with info, 'refresh' to normal screen after 3 seconds
   if ( $refresh eq 'yes' )
   {
-    &Header::openpage($Lang::tr{'WakeOnLan'}, 1, "<meta http-equiv='refresh' content='3;url=/cgi-bin/wakeonlan.cgi'");
+    &Header::openpage($Lang::tr{'WakeOnLan'}, 1, "<meta http-equiv='refresh' content='3; url=/cgi-bin/wakeonlan.cgi'>");
     &Header::openbigbox('100%', 'left');
   }
   &Header::openbox('100%', 'left', $Lang::tr{'WakeOnLan'});