X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet_packet.c;fp=src%2Fnet_packet.c;h=b444bc9310277605e4bec46108f25bd578eeba0f;hp=46d4e1a0df5314f22d767f038d9e39cb02e3f126;hb=a22041922f160667573e9a5ae3f4195e1668906a;hpb=8b70c5be9bc762d81354f9cd77c3748a44a4956d diff --git a/src/net_packet.c b/src/net_packet.c index 46d4e1a0..b444bc93 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -2,6 +2,7 @@ net_packet.c -- Handles in- and outgoing VPN packets Copyright (C) 1998-2005 Ivo Timmermans, 2000-2010 Guus Sliepen + 2010 Timothy Redaelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -356,7 +357,9 @@ static void send_udppacket(node_t *n, vpn_packet_t *origpkt) { vpn_packet_t *outpkt; int origlen; size_t outlen; +#if defined(SOL_IP) && defined(IP_TOS) static int priority = 0; +#endif int origpriority; int sock;