Fix warnings under BSD

This commit is contained in:
Timothy Redaelli 2010-05-04 15:43:48 +02:00 committed by Guus Sliepen
parent df985256a7
commit eda7179874
2 changed files with 18 additions and 10 deletions

View file

@ -365,7 +365,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;