Index: aodv-uu-0.9.3/lnx/kaodv-mod.c =================================================================== --- aodv-uu-0.9.3.orig/lnx/kaodv-mod.c 2007-06-04 13:22:19.830840536 +0200 +++ aodv-uu-0.9.3/lnx/kaodv-mod.c 2007-06-04 13:22:20.130794936 +0200 @@ -19,7 +19,7 @@ * Author: Erik Nordström, * *****************************************************************************/ -#include +#include #include #ifdef KERNEL26 @@ -258,7 +258,11 @@ if (!(*skb)) return NF_STOLEN; +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) + ip_route_me_harder(skb, RTN_UNSPEC); +#else ip_route_me_harder(skb); +#endif } break; case NF_IP_POST_ROUTING: Index: aodv-uu-0.9.3/lnx/kaodv-queue.c =================================================================== --- aodv-uu-0.9.3.orig/lnx/kaodv-queue.c 2007-06-04 13:22:19.837839472 +0200 +++ aodv-uu-0.9.3/lnx/kaodv-queue.c 2007-06-04 13:22:20.130794936 +0200 @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include @@ -246,7 +247,11 @@ if (!entry->skb) goto next; } +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) + ip_route_me_harder(&entry->skb, RTN_UNSPEC); +#else ip_route_me_harder(&entry->skb); +#endif pkts++;