when i use the code in classifier.cc
printf("net_id = %s",net_id.dump());
it show "net_id" undeclared.
Mohammed wrote:
>
>
> through net_id.dump()
>
> in other words use: printf("net_id = %s",net_id.dump());
>
> rubenjy <[EMAIL PROTECTED]> wrote:
>
>
> hello,
> i want to get node id in classifier.cc
> i don't know how to get node id.
> so i include node.h and write code (follow)
>
> Node* tempnode;
> int ttmp;
> if (tempnode){
> ttmp=tempnode->address();
> ttmp=tempnode->nodeid();
> }
>
> but it had segmentation fault(core dumped).
> i used gdb to trace it.
> gdb show program received signal SIGILL, Illegal instruction
>
> somebody can tell me how to get node id ?
> --
> View this message in context:
> http://www.nabble.com/how-to-get-node-id-in-classifier-tf4103981.html#a11671028
> Sent from the ns-users mailing list archive at Nabble.com.
>
>
>
>
> ---------------------------------
> Building a website is a piece of cake.
> Yahoo! Small Business gives you all the tools to get online.
>
>
--
View this message in context:
http://www.nabble.com/how-to-get-node-id-in-classifier-tf4103981.html#a11674298
Sent from the ns-users mailing list archive at Nabble.com.