when i want to get the node id in dsred.cc file i add these lines and include
mobilenode.h and node.h in dsred.h

MobileNode *thisnode = (MobileNode *) ((Node::get_node_by_address(id)));
printf("%d\n",thisnode->address());
i got segmentation fault core dumped 
how can i solve it 
thanks



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/how-to-find-the-node-id-tp28330.html
Sent from the ns-users mailing list archive at Nabble.com.

Reply via email to