diff --git a/src/goodbyedpi.h b/src/goodbyedpi.h index 5dd3d47..a5879fc 100644 --- a/src/goodbyedpi.h +++ b/src/goodbyedpi.h @@ -1,11 +1,11 @@ #define HOST_MAXLEN 253 #define MAX_PACKET_SIZE 9016 -#ifndef DEBUG -#define debug(...) do {} while (0) -#else -#define debug(...) printf(__VA_ARGS__) -#endif - +// #ifndef DEBUG +// #define debug(...) do {} while (0) +// #else +// #define debug(...) printf(__VA_ARGS__) +// #endif +#define debug(...) if (getenv("DEBUG_GDPI")!=NULL) printf(__VA_ARGS__) int main(int argc, char *argv[]); void deinit_all();