Добавлено кеширование привязки IP-mac.
[lua-squid-acl-helper.git] / src / config.lua
index 6c427cb13660e2369db15cedd03ad0e3d4f33a5e..842b445c63e36ed1b0103ee95634dc4a8659ff28 100644 (file)
@@ -36,6 +36,12 @@ function _config.read(file)
       end
     end 
   end
+
+  _config.arp_ttl = 60
+
+  if cfg["arp-ttl"] then
+    _config.arp_ttl = tonumber(cfg["arp-ttl"])
+  end
   
 end