Explorar o código

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

Roman Dmitriev hai 3 meses
pai
achega
85f584c0c2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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),
     };