projects
/
lua-squid-acl-helper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Добавлено кеширование привязки IP-mac.
[lua-squid-acl-helper.git]
/
src
/
config.lua
diff --git
a/src/config.lua
b/src/config.lua
index 6c427cb13660e2369db15cedd03ad0e3d4f33a5e..842b445c63e36ed1b0103ee95634dc4a8659ff28 100644
(file)
--- a/
src/config.lua
+++ b/
src/config.lua
@@
-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