mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Set capture direction for n2disk in zmq interfaces
This commit is contained in:
parent
d43301cc3c
commit
640e124775
1 changed files with 4 additions and 0 deletions
|
|
@ -648,8 +648,12 @@ function recording_utils.createConfig(ifid, params)
|
|||
elseif prefs.capture_direction == "out" then
|
||||
f:write("--capture-direction=2\n")
|
||||
else
|
||||
-- Default: RX+TX
|
||||
f:write("--capture-direction=0\n")
|
||||
end
|
||||
else
|
||||
-- Default on non packet interface: RX+TX
|
||||
f:write("--capture-direction=0\n")
|
||||
end
|
||||
|
||||
-- Capture filter (BPF)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue