Dear All,

I think I found a bug in channel.cc file when I try to implement frequency
hopping scheme. So I need to add and remove nodes from wireless channel
dynamically.

In WirelessChannel::removeNodeFromList(MobileNode *mn)
for (tmp = xListHead_; tmp->nextX_ != NULL; tmp=tmp->nextX_) {

I think it should be.
for (tmp = xListHead_; tmp != NULL; tmp=tmp->nextX_) {

I fixed it and I remove core dump.

Best Regards,

Weetit

Reply via email to