Argh. Fix a missing declaration.

This commit is contained in:
mtbishop 2009-03-29 10:44:02 +00:00
parent 20afcf7d38
commit eb0ff6139a

View File

@ -17,7 +17,7 @@
*/ */
/* /*
* $Id: netlib.c,v 1.11.2.3 2009/03/29 10:08:59 mtbishop Exp $ * $Id: netlib.c,v 1.11.2.4 2009/03/29 10:44:02 mtbishop Exp $
*/ */
#include "config.h" #include "config.h"
@ -147,6 +147,7 @@ int udp_session(struct vtun_host *host)
struct sockaddr_in saddr; struct sockaddr_in saddr;
short port; short port;
int s,opt; int s,opt;
extern int is_rmt_fd_connected;
if( (s=socket(AF_INET,SOCK_DGRAM,0))== -1 ){ if( (s=socket(AF_INET,SOCK_DGRAM,0))== -1 ){
vtun_syslog(LOG_ERR,"Can't create socket"); vtun_syslog(LOG_ERR,"Can't create socket");