ns2-roadv
ns2-roadv copied to clipboard
Segmentation Fault
AODV - Segmentation Fault
DSDV - Working good
DSR - Segmentation Fault
AODV- Segmentation Fault... any way to resolve that??
aodv and dsdv working good for me, but dsr was "segmentation fault"
In aodv.cc, rt has been declared but never defined. That's probably why the segmentation fault is coming.
rt is declared here: https://github.com/softvar/ns2-roadv/blob/4e787d5236da35b321a367282de6e28a16ba89bc/aodv.cc#L662
and used here: https://github.com/softvar/ns2-roadv/blob/4e787d5236da35b321a367282de6e28a16ba89bc/aodv.cc#L676
But in between, it hasn't been defined.
@softvar can you look into this please?