Răsfoiți Sursa

remove UNDEFINED from default dhcp hostname

Roman Dmitriev 1 an în urmă
părinte
comite
a8faa51416
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      scripts/dhcp-log.pl

+ 1 - 1
scripts/dhcp-log.pl

@@ -118,7 +118,7 @@ if (!$pid) {
 
             if (time()-$last_refresh_config>=60) { init_option($hdb); }
 
-            my $client_hostname='UNDEFINED';
+            my $client_hostname='';
             if ($hostname and $hostname ne "undef") { $client_hostname=$hostname; } else {
                 if ($sup_hostname) { $client_hostname=$sup_hostname; } else {
                     if ($old_hostname) { $client_hostname=$old_hostname; }