X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet_packet.c;h=44ab55d42c8a550f1fddad9a36c88aec0c813377;hp=a438d3e9577e45aefd5ffeabc49d5da1955fe6ce;hb=c6ccbadfcf93a7bd4a88dee8ff146b4db7f85e71;hpb=ddb8cb0779ed36d17ce186dd0bf67e9f0c860d28 diff --git a/src/net_packet.c b/src/net_packet.c index a438d3e9..44ab55d4 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 @@ -365,7 +366,9 @@ static void send_udppacket(node_t *n, vpn_packet_t *origpkt) { vpn_packet_t *outpkt; int origlen; int outlen, outpad; +#if defined(SOL_IP) && defined(IP_TOS) static int priority = 0; +#endif int origpriority; int sock;