if i put the following code in the recvAODV(packet *p)
function in aodv.cc file


if ( (u_int32_t)ih->saddr() == index) {
forward((bhaodv_rt_entry*) 0, p, NO_DELAY); }
else {
drop(p, DROP_RTR_ROUTE_LOOP); }


than it gives following warning
warning: comparison between signed and unsigned integer expressions
why it occur and how could i solve this problem

Reply via email to