Asraf wrote:
> I am trying to print out the route table, and rt_print function in aodv.cc
> plus this code on in AODV::command:
>
> int
> AODV::command(int argc, const char*const* argv) {
> ...
> ...
> else if (strcasecmp(argv[1], "rt_print") == 0) {// print routing tables to a
> file
> FI
I am trying to print out the route table, and rt_print function in aodv.cc
plus this code on in AODV::command:
int
AODV::command(int argc, const char*const* argv) {
...
...
else if (strcasecmp(argv[1], "rt_print") == 0) {// print routing tables to a
file
FILE *fp = fopen("route.txt","a")