mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-09 05:27:59 +08:00
This commit is contained in:
1 parent
c7bafc635d
commit
c71da84035
264 files changed
+8169
-3944
No files matched your search
@@ -16,8 +16,10 @@ local filterfile = workdir .. "/tcpdump_filter"
|
||||
local pcapbase = workdir .. "/capture.pcap"
|
||||
local outputfile = "/tmp/capture.pcap"
|
||||
|
||||
-- Empty is valid: "Resolve domains" alone drops the default -n and leaves no
|
||||
-- argument at all, and an error() here left the pidfile behind.
|
||||
local function validate_args(value)
|
||||
if type(value) ~= "string" or value == "" then
|
||||
if type(value) ~= "string" then
|
||||
return false
|
||||
end
|
||||
local tokens = {}
|
||||
|
||||
Reference in new issue
Block a user