mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-12-08 00:53:54 +01:00
layer: block use of DEBUGP
As per "Writing Netfilter Modules" e-book 20090326 section 4.8, one should use pr_debug instead.
This commit is contained in:
@@ -6,6 +6,8 @@
|
|||||||
#include "compat_skbuff.h"
|
#include "compat_skbuff.h"
|
||||||
#include "compat_xtnu.h"
|
#include "compat_xtnu.h"
|
||||||
|
|
||||||
|
#define DEBUGP Use__pr_debug__instead
|
||||||
|
|
||||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 17)
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 17)
|
||||||
# warning Kernels below 2.6.17 not supported.
|
# warning Kernels below 2.6.17 not supported.
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user