diff options
author | Eric Leblond <eric@inl.fr> | 2008-10-21 09:35:20 +0200 |
---|---|---|
committer | Eric Leblond <eric@inl.fr> | 2008-12-09 01:19:25 +0100 |
commit | 689dfc878d5ca0dc6f940e3eb897d1d80b6fef42 (patch) | |
tree | 1ec31f44932532cdcaac8dc7d21f37dce7d59082 /cftest | |
parent | 6877fecf582f1ed68e4c4692fa0329f26b04f7f3 (diff) |
Get rid of addressfamily variable in NFLOG input plugin
The addressfamily configuration variable for NFLOG is used as param
for nflog_bind_pf. This function is used to claim the fetching of
kernel message sent via nf_log_packet() function.
As all kernel messages are sent to the group 0, it is useless to
call nflog_bind_pf when nflog group of the input plugin is not 0.
Furthermore, as only one plugin can be bound to nflog group 0, it
is mandatory to call nflog_bind_pf for all pf family when the group
is 0.
To sum up, this patch suppress the adressfamily parameter (which
simplify the configuration file) and call nflog_bind_pf for all
pf family when the nflog group of the instance is 0.
Signed-off-by: Eric Leblond <eric@inl.fr>
Diffstat (limited to 'cftest')
0 files changed, 0 insertions, 0 deletions