In the file aodv.cc, there must be a line
//#define DEBUG

Just uncomment this.

If it not there, add the line
#define DEBUG

in whichever file you want to print the debugs..

Thanks,
Kanthi

>
> Hi all..
>
> I'm working on ns-2.1b9a, using AODV. I want to see all the message
> generated . for example
>
>
>
> #ifdef DEBUG
>
>    fprintf(stderr, "%s(%f): %d\tsending RERR...\n", __FUNCTION__,
> CURRENT_TIME, index);
>
> #endif // DEBUG
>
>    sendError(rerr, false);
>
>
>
> In this part  I want to see the fprint part. How can I do this? Help
> please.
>
>
>
> I would appreciate your help. Thanks in advance.
>


-- 
" I gave my life to become the person I am right now. Was it worth it? "
 - Richard Bach

Reply via email to