[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] wireless (ping) invalid packet type error!



 check out cmu-trace.cc....i think the function 


void CMUTrace::format(Packet* p, const char *why)

and add a case statement for for the ping packet type.....i think that
should fix it...

-Vikram


> Hi,
> 
> I have been attempting to use the ping agent as well as my own modified
> ping agent with a set of wireless nodes. (All works well with a set of
> wired nodes.)
> 
> When I run the simulation. I get the following errror:
> 
> num_nodes is set 20
> Loading scenario file...
> Load complete...
> Starting Simulation...
> (null) - invalid packet type (ping).
> 
> I noticed in the archives someone else had the same problem in 1999, but
> no solution that I could see.
> I am using ns-allinone-2.1b7.
> 
> Thanks in advance,
> Justin
> 
> 


Department of ECE, Rice University | 713 348 3786 (O)| 713 664 5650(H)
http://www.ece.rice.edu/~kanodia