netfilter: print the list of register loggers
authorEric Leblond <eric@inl.fr>
Mon, 16 Mar 2009 13:55:27 +0000 (14:55 +0100)
committerPatrick McHardy <kaber@trash.net>
Mon, 16 Mar 2009 13:55:27 +0000 (14:55 +0100)
commitc7a913cd5535554d6f5d5e1f5ef46c4307cf2afc
treeb49ec6d00a32abc263a7ebe301b498052b605aae
parentca735b3aaa945626ba65a3e51145bfe4ecd9e222
netfilter: print the list of register loggers

This patch modifies the proc output to add display of registered
loggers. The content of /proc/net/netfilter/nf_log is modified. Instead
of displaying a protocol per line with format:
proto:logger
it now displays:
proto:logger (comma_separated_list_of_loggers)
NONE is used as keyword if no logger is used.

Signed-off-by: Eric Leblond <eric@inl.fr>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_log.c