under the dsdv.cc file there is a function which drops the packet if its destined for outside the given subnet, the function is as follows: DSDV_Agent::diff_subnet(int dst) { char* dstnet = Address::instance().get_subnetaddr(dst); if (subnet_ != NULL) { if (dstnet != NULL) { if (strcmp(dstnet, subnet_) != 0) { delete [] dstnet; return 1; } delete [] dstnet; } } //assert(dstnet == NULL); return 0; } can any one give me any idea abt how to avoid this and add the route in the table so that routing to other subnets could be possible ?
any help would be really appriciated. thanks roy