Welcome to LQ.
Did you add the new "Agent/Ting" to tcl/lib/{ files.tcl } ?
Code:
[knudfl@localhost lib]$ grep -Rn Ping *
ns-default.tcl:830:Agent/Ping set packetSize_ 64
ns-packet.tcl:164: Ping # Ping
ns-packet.tcl:279:# { Ping off_ping_ }
And how about common/packet.h :
Code:
[knudfl@localhost common]$ grep -Rin Ping *
packet.h:140:static const packet_t PT_PING = 44;
packet.h:360: name_[PT_PING]="ping";
Ns-2.35 was used for the above.
-