summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/includes
diff options
context:
space:
mode:
Diffstat (limited to 'admin/WebConsole/includes')
-rw-r--r--admin/WebConsole/includes/tftputils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/includes/tftputils.php b/admin/WebConsole/includes/tftputils.php
index 5c97867c..f35e28d5 100644
--- a/admin/WebConsole/includes/tftputils.php
+++ b/admin/WebConsole/includes/tftputils.php
@@ -151,7 +151,7 @@ function updateBootMode ($cmd, $idfield, $idvalue, $lang) {
$rs->Primero();
while (! $rs->EOF) {
$ip = $rs->campos["ip"];
- if (! empty ($hostname)) {
+ if (! empty ($ip)) {
$bootopt=$rs->campos["bootopt"];
// Volver a crear el fichero de arranque.