summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/olsrd-luci/patches
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-11-11 22:41:29 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-11-11 22:41:29 +0000
commitc12a9a079535c7fd2c3ccc1ac7b718781bc1b1ef (patch)
treec3caa27af54d9ed703766379af7a81feb02d6a97 /contrib/package/olsrd-luci/patches
parenta3c4c0b87b856d602f961344b4a43d8603f9db3c (diff)
contrib/package: bump olsrd to 0.5.6-r7, refresh patches
Diffstat (limited to 'contrib/package/olsrd-luci/patches')
-rw-r--r--contrib/package/olsrd-luci/patches/140-olsrd-optimize-size.patch30
1 files changed, 15 insertions, 15 deletions
diff --git a/contrib/package/olsrd-luci/patches/140-olsrd-optimize-size.patch b/contrib/package/olsrd-luci/patches/140-olsrd-optimize-size.patch
index d27a5feea..3c3dabd9b 100644
--- a/contrib/package/olsrd-luci/patches/140-olsrd-optimize-size.patch
+++ b/contrib/package/olsrd-luci/patches/140-olsrd-optimize-size.patch
@@ -966,7 +966,7 @@
}
/*
-@@ -399,7 +405,11 @@
+@@ -385,7 +391,11 @@
* @return pointer to hello_neighbor
*/
struct hello_neighbor *
@@ -978,7 +978,7 @@
{
struct hello_neighbor *h;
-@@ -421,7 +431,11 @@
+@@ -407,7 +417,11 @@
* @return pointer to tc_mpr_addr
*/
struct tc_mpr_addr *
@@ -990,7 +990,7 @@
{
struct tc_mpr_addr *t;
-@@ -443,7 +457,11 @@
+@@ -429,7 +443,11 @@
* @return pointer to lq_hello_neighbor
*/
struct lq_hello_neighbor *
@@ -1002,7 +1002,7 @@
{
struct lq_hello_neighbor *h;
-@@ -465,7 +483,11 @@
+@@ -451,7 +469,11 @@
* @return pointer to link_entry
*/
struct link_entry *
@@ -1024,7 +1024,7 @@
#include "tc_set.h"
#include "link_set.h"
#include "olsr_spf.h"
-@@ -212,6 +213,7 @@
+@@ -228,6 +229,7 @@
return buffer->buf;
}
@@ -1042,7 +1042,7 @@
#ifndef LQ_PLUGIN_DEFAULT_H_
#define LQ_PLUGIN_DEFAULT_H_
-@@ -75,6 +76,7 @@
+@@ -57,6 +58,7 @@
extern struct lq_handler lq_etx_float_handler;
#endif /*LQ_PLUGIN_DEFAULT_H_ */
@@ -1060,7 +1060,7 @@
#include "tc_set.h"
#include "link_set.h"
#include "lq_plugin.h"
-@@ -223,6 +224,7 @@
+@@ -239,6 +240,7 @@
snprintf(buffer->buf, sizeof(buffer->buf), "%.3f", (float)(cost) / LQ_FPM_LINKCOST_MULTIPLIER);
return buffer->buf;
}
@@ -1078,7 +1078,7 @@
#ifndef LQ_ETX_FPM_
#define LQ_ETX_FPM_
-@@ -79,6 +80,7 @@
+@@ -61,6 +62,7 @@
extern struct lq_handler lq_etx_fpm_handler;
#endif /*LQ_ETX_FPM_ */
@@ -1497,7 +1497,7 @@
* Local Variables:
--- a/src/process_routes.c
+++ b/src/process_routes.c
-@@ -159,6 +159,7 @@
+@@ -158,6 +158,7 @@
static void
olsr_delete_kernel_route(struct rt_entry *rt)
{
@@ -1505,7 +1505,7 @@
if (!olsr_cnf->host_emul) {
int16_t error = olsr_cnf->ip_version == AF_INET ? olsr_delroute_function(rt) : olsr_delroute6_function(rt);
-@@ -170,6 +171,12 @@
+@@ -169,6 +170,12 @@
olsr_syslog(OLSR_LOG_ERR, "Delete route %s: %s", routestr, err_msg);
}
}
@@ -1518,7 +1518,7 @@
}
/**
-@@ -181,6 +188,7 @@
+@@ -180,6 +187,7 @@
olsr_add_kernel_route(struct rt_entry *rt)
{
@@ -1526,7 +1526,7 @@
if (!olsr_cnf->host_emul) {
int16_t error = (olsr_cnf->ip_version == AF_INET) ? olsr_addroute_function(rt) : olsr_addroute6_function(rt);
-@@ -199,6 +207,14 @@
+@@ -198,6 +206,14 @@
rt->rt_metric = rt->rt_best->rtp_metric;
}
}
@@ -1541,9 +1541,9 @@
}
/**
-@@ -388,9 +404,11 @@
- /* route additions */
- olsr_add_kernel_routes(&add_kernel_list);
+@@ -348,9 +364,11 @@
+ /* route changes */
+ olsr_chg_kernel_routes(&chg_kernel_list);
-#if DEBUG
+#ifndef SVEN_OLA_UNBLOAT