Pārlūkot izejas kodu

temporary: for dhcp request always update client_id. see...

Roman Dmitriev 3 mēneši atpakaļ
vecāks
revīzija
85f584c0c2
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      scripts/eyelib/common.pm

+ 1 - 1
scripts/eyelib/common.pm

@@ -1773,7 +1773,7 @@ sub process_dhcp_request {
         ts            => $timestamp,
         last_time     => time(),
         circuit_id    => $circuit_id,
-        client_id     => $client_id if ($client_id);
+        client_id     => $client_id,
         remote_id     => $remote_id,
         hotspot       => is_hotspot($db, $ip),
     };