[ns] Segmentation fault in Aodv

2011-05-04 Thread st109921
Hi All I add something extra in my aodv.cc file like this void AODV::rt_update(aodv_rt_entry *rt, u_int32_t seqnum, u_int16_t metric, nsaddr_t nexthop, double expire_time) { AODV_Neighbor *nb = nb_lookup(nexthop); rt->rt_seqno = seqnum; rt->rt_hops = metric;

[ns] Segmentation fault in AODV when using DRR in wireless network

2008-11-14 Thread howardgod howardgod
Hi all! I got a segmentation fault when using Queue/DRR and AODV in wireless network. following is the message output by valgrind ==2252== Invalid read of size 4 ==2252==at 0x81BD274: PacketQueue::head() (queue.h:82) ==2252==by 0x829A1D6: PriQueue::filter(int) (priqueue.cc:158) ==2252==