X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fnet_packet.c;h=b444bc9310277605e4bec46108f25bd578eeba0f;hb=a22041922f160667573e9a5ae3f4195e1668906a;hp=46d4e1a0df5314f22d767f038d9e39cb02e3f126;hpb=ffa1dc73dcd62a856325641972a13d398aa8121c;p=oweals%2Ftinc.git diff --git a/src/net_packet.c b/src/net_packet.c index 46d4e1a..b444bc9 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;