summaryrefslogtreecommitdiff
path: root/package/olsrd/patches/patch-src_unix_ifnet_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/olsrd/patches/patch-src_unix_ifnet_c')
-rw-r--r--package/olsrd/patches/patch-src_unix_ifnet_c13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/olsrd/patches/patch-src_unix_ifnet_c b/package/olsrd/patches/patch-src_unix_ifnet_c
new file mode 100644
index 000000000..67705012b
--- /dev/null
+++ b/package/olsrd/patches/patch-src_unix_ifnet_c
@@ -0,0 +1,13 @@
+--- olsrd-0.6.0.orig/src/unix/ifnet.c 2010-04-22 17:11:11.000000000 +0200
++++ olsrd-0.6.0/src/unix/ifnet.c 2010-10-10 14:34:54.000000000 +0200
+@@ -547,10 +547,8 @@ chk_if_up(struct olsr_if *iface, int deb
+ struct ifreq ifr;
+ union olsr_ip_addr null_addr;
+ size_t name_size;
+-#ifdef linux
+ int precedence = IPTOS_PREC(olsr_cnf->tos);
+ int tos_bits = IPTOS_TOS(olsr_cnf->tos);
+-#endif
+
+ if (iface->host_emul)
+ return -1;