Make sure tinc compiles on Windows.

This commit is contained in:
Guus Sliepen 2012-07-21 12:51:53 +02:00
parent 1d4590ca5c
commit 5eeed38b8e
5 changed files with 28 additions and 18 deletions

View file

@ -390,8 +390,8 @@ static void send_udppacket(node_t *n, vpn_packet_t *origpkt) {
size_t outlen;
#if defined(SOL_IP) && defined(IP_TOS)
static int priority = 0;
int origpriority = origpkt->priority;
#endif
int origpriority = origpkt->priority;
if(!n->status.reachable) {
logger(DEBUG_TRAFFIC, LOG_INFO, "Trying to send UDP packet to unreachable node %s (%s)", n->name, n->hostname);