[ns] [Segmentation fault] Where are prim_alt_path_len_diff_ and max_paths_

2010-06-27 Thread Mariam A. Moustafa
Al Salamo Alikom, Dears, My Environment: Ubuntu 9.10 and NS-2.34 While I am building my new routing protocol for WSN, I decide to start with AOMDV protocol. I copy the folder and rename it and all its files. and follow all steps in Implementing a New Manet Unicast Routing Protocol in NS2,

Re: [ns] [Segmentation fault] Where are prim_alt_path_len_diff_ and max_paths_

2010-06-27 Thread Mariam Elansary
Dear Mubashir Rehmani and all, Thanks a lot, it seems that I should modify ~/ns-allinone-2.34/ns-2.34/tcl/lib/ns-agent.tcl line 202 by adding Agent/WFRP instproc init args { $self next $args } Agent/WFRP set sport_ 0 Agent/WFRP set dport_ 0 Kindly check these links