X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/f928f0694ff6b90d5fc429cfe910eaba9fdd3fd0..a0b107b8722e92aa3f29945239ce6793bf5ea877:/netlink.c diff --git a/netlink.c b/netlink.c index 97e1af9..f2fa273 100644 --- a/netlink.c +++ b/netlink.c @@ -106,6 +106,12 @@ their use. #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