diff --git a/libsofia-sip-ua/stun/stun.c b/libsofia-sip-ua/stun/stun.c index 1b454f3a8f84266584fcdde7779c61771a2497f8..e8e2a80eeb4b6a7db4acb142c04bf58a68a457f6 100644 --- a/libsofia-sip-ua/stun/stun.c +++ b/libsofia-sip-ua/stun/stun.c @@ -73,8 +73,12 @@ static char const __func__[] = "stun"; #endif +#ifndef SU_DEBUG +#define SU_DEBUG 3 +#endif + /** STUN log. */ -su_log_t stun_log[] = { SU_LOG_INIT("stun", "STUN_DEBUG", 3) }; +su_log_t stun_log[] = { SU_LOG_INIT("stun", "STUN_DEBUG", SU_DEBUG) }; /**@var STUN_DEBUG *