Correct IPv6 handling of LOG_BACKEND=LOG

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2014-11-15 08:56:42 -08:00
parent 664e3bb0a8
commit a833815b31

View File

@ -5814,7 +5814,7 @@ sub get_configuration( $$$$$ ) {
} elsif ( $val eq 'netlink' ) {
$val = 'nfnetlink_log';
} elsif ( $val eq 'LOG' ) {
$val = $family == F_IPV4 ? 'ipt_LOG' : 'ip6t_log';
$val = $family == F_IPV4 ? 'ipt_LOG' : 'ip6t_LOG';
} else {
fatal_error "Invalid LOG Backend ($val)";
}