summaryrefslogtreecommitdiff
path: root/package/olsrd/patches/patch-src_unix_ifnet_c
blob: 67705012b487ad078a8b03dc1c2a4d56924e500f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;