patch-src_unix_ifnet_c 436 B

12345678910111213
  1. --- olsrd-0.6.0.orig/src/unix/ifnet.c 2010-04-22 17:11:11.000000000 +0200
  2. +++ olsrd-0.6.0/src/unix/ifnet.c 2010-10-10 14:34:54.000000000 +0200
  3. @@ -547,10 +547,8 @@ chk_if_up(struct olsr_if *iface, int deb
  4. struct ifreq ifr;
  5. union olsr_ip_addr null_addr;
  6. size_t name_size;
  7. -#ifdef linux
  8. int precedence = IPTOS_PREC(olsr_cnf->tos);
  9. int tos_bits = IPTOS_TOS(olsr_cnf->tos);
  10. -#endif
  11. if (iface->host_emul)
  12. return -1;