chiark
/
gitweb
/
~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netlink: Provide MDEBUG macro
[secnet]
/
netlink.c
diff --git
a/netlink.c
b/netlink.c
index 97e1af99f24ce10047b9c8a5b57672ef8762c143..f2fa273efb0a19d0be417636c37b82ae3eabe4e4 100644
(file)
--- a/
netlink.c
+++ b/
netlink.c
@@
-106,6
+106,12
@@
their use.
#include "netlink.h"
#include "process.h"
#include "netlink.h"
#include "process.h"
+#ifdef NETLINK_DEBUG
+#define MDEBUG(...) Message(M_DEBUG, __VA_ARGS__)
+#else /* !NETLINK_DEBUG */
+#define MDEBUG(...) ((void)0)
+#endif /* !NETLINK_DEBUG */
+
#define ICMP_TYPE_ECHO_REPLY 0
#define ICMP_TYPE_UNREACHABLE 3
#define ICMP_TYPE_ECHO_REPLY 0
#define ICMP_TYPE_UNREACHABLE 3