Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756289AbYLJThb (ORCPT ); Wed, 10 Dec 2008 14:37:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753997AbYLJThU (ORCPT ); Wed, 10 Dec 2008 14:37:20 -0500 Received: from bayen.regit.org ([81.57.69.189]:45604 "EHLO ice-age" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753653AbYLJThS (ORCPT ); Wed, 10 Dec 2008 14:37:18 -0500 X-Greylist: delayed 2861 seconds by postgrey-1.27 at vger.kernel.org; Wed, 10 Dec 2008 14:37:18 EST From: Eric Leblond To: Kamalesh Babulal Cc: Randy Dunlap , Stephen Rothwell , netdev , linux-next@vger.kernel.org, LKML , netfilter-devel@vger.kernel.org, kaber@trash.net, Eric Leblond Subject: netfilter: xt_NFLOG is dependant of nfnetlink_log Date: Wed, 10 Dec 2008 19:49:17 +0100 Message-Id: <1228934957-11967-1-git-send-email-eric@inl.fr> X-Mailer: git-send-email 1.5.6.3 In-Reply-To: <1228934630.5961.8.camel@ice-age> References: <1228934630.5961.8.camel@ice-age> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1298 Lines: 36 The patch "don't call nf_log_packet in NFLOG module" make xt_NFLOG dependant of nfnetlink_log. This patch forces the dependencies to fix compilation in case only xt_NFLOG compilation was asked and modifies the help message accordingly to the change. Signed-off-by: Eric Leblond --- net/netfilter/Kconfig | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig index 25dcef9..c2bac9c 100644 --- a/net/netfilter/Kconfig +++ b/net/netfilter/Kconfig @@ -373,11 +373,10 @@ config NETFILTER_XT_TARGET_MARK config NETFILTER_XT_TARGET_NFLOG tristate '"NFLOG" target support' default m if NETFILTER_ADVANCED=n + select NETFILTER_NETLINK_LOG help This option enables the NFLOG target, which allows to LOG - messages through the netfilter logging API, which can use - either the old LOG target, the old ULOG target or nfnetlink_log - as backend. + messages through nfnetlink_log. To compile it as a module, choose M here. If unsure, say N. -- 1.5.6.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/