X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=contrib%2Fpackage%2Folsrd-luci%2Fpatches%2F139-olsrd-magicarprefresh.patch;fp=contrib%2Fpackage%2Folsrd-luci%2Fpatches%2F139-olsrd-magicarprefresh.patch;h=8d231dfec355c81f23170cb2e31c1ec13924286d;hb=9ec9fc679a574613e9447184ae3f51e6d877b5f2;hp=642abe17b6f9322229b0933b163f5b8f6ca4f25f;hpb=af8424549d01651b188e2569cab5169d2e933bc0;p=project%2Fluci.git diff --git a/contrib/package/olsrd-luci/patches/139-olsrd-magicarprefresh.patch b/contrib/package/olsrd-luci/patches/139-olsrd-magicarprefresh.patch index 642abe17b..8d231dfec 100644 --- a/contrib/package/olsrd-luci/patches/139-olsrd-magicarprefresh.patch +++ b/contrib/package/olsrd-luci/patches/139-olsrd-magicarprefresh.patch @@ -1,6 +1,5 @@ -diff -Nur olsrd-0.5.6-r2.orig/lib/arprefresh/src/olsrd_arprefresh.c olsrd-0.5.6-r2/lib/arprefresh/src/olsrd_arprefresh.c ---- olsrd-0.5.6-r2.orig/lib/arprefresh/src/olsrd_arprefresh.c 2008-11-26 10:54:16.000000000 +0100 -+++ olsrd-0.5.6-r2/lib/arprefresh/src/olsrd_arprefresh.c 2008-11-26 10:56:15.000000000 +0100 +--- a/lib/arprefresh/src/olsrd_arprefresh.c ++++ b/lib/arprefresh/src/olsrd_arprefresh.c @@ -34,6 +34,8 @@ * Plugin to refresh the local ARP cache from received OLSR broadcasts */ @@ -19,8 +18,8 @@ diff -Nur olsrd-0.5.6-r2.orig/lib/arprefresh/src/olsrd_arprefresh.c olsrd-0.5.6- +#endif #include #include - -@@ -53,7 +58,6 @@ + #include +@@ -54,7 +59,6 @@ #include "kernel_routes.h" #include "scheduler.h" @@ -28,7 +27,7 @@ diff -Nur olsrd-0.5.6-r2.orig/lib/arprefresh/src/olsrd_arprefresh.c olsrd-0.5.6- #define PLUGIN_INTERFACE_VERSION 5 /**************************************************************************** -@@ -128,7 +132,13 @@ +@@ -129,7 +133,13 @@ memcpy(&req.in_pa.sin_addr, &buf.ip.saddr, sizeof(buf.ip.saddr)); req.arp.arp_ha.sa_family = AF_LOCAL; memcpy(&req.arp.arp_ha.sa_data, &buf.eth.h_source, sizeof(buf.eth.h_source));