thanks sir for your reply actually im working on implementing grayhole attack in manet, i had made changes in various files of ns directory according to tutorial
http://www.evignan4u.com/2012/03/add...n-network.html
but in tutorial there is no information about editin cmu-trace.cc and h files so i want to ask you that whether is nit important to make changes in these file as well if it is then how,
when i run make command there is no error but there is no object created in grayhole folder in ns directory and at the time of running tcl in bin i get the above error error, sir kindly you can guide me in this as im new to ns
ns:
[code omitted because of length]
: invalid command name "Agent/mUDP"
while executing
"Agent/mUDP set packetSize_ 1000"