Dear all,

I have a problem to get logical neighbor list for specific mobile node in
MANET simulation,



I used this code

In aodv.cc I've made a Tcl command as follow but i always get nothing, nb =0

------------------------------------------
if(strcmp(argv[1], "show-neigh")==0) {
      AODV_Neighbor *nb = nbhead.lh_first;
      tcl.evalf("puts \"\tNode\t\"");
      for(;nb;nb=nb->nb_link.le_next ){
           tcl.evalf("puts \"\t%d\t%f\"",nb->nb_addr);
      }
         return TCL_OK;
    }


Thanks

Reply via email to