Selaa lähdekoodia

remove UNDEFINED from default dhcp hostname

Roman Dmitriev 1 vuosi sitten
vanhempi
sitoutus
a8faa51416
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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; }