X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fconnection.h;h=9d38263a19b55ac88dc112b9814ab537dd82fcf3;hp=c60562c245471a247a7990240ce74b05bcc084c4;hb=5904806dc80830d4eddca857a41db2fc25598201;hpb=ec0c16b9b63f361b11a757ee1641d562e4811f93;ds=sidebyside diff --git a/src/connection.h b/src/connection.h index c60562c2..9d38263a 100644 --- a/src/connection.h +++ b/src/connection.h @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: connection.h,v 1.1.2.14 2001/10/10 08:49:47 guus Exp $ + $Id: connection.h,v 1.1.2.15 2001/10/10 09:42:29 guus Exp $ */ #ifndef __TINC_CONNECTION_H__ @@ -89,7 +89,7 @@ typedef struct connection_t { char *mychallenge; /* challenge we received from him */ char *hischallenge; /* challenge we sent to him */ - char *buffer; /* metadata input buffer */ + char buffer[MAXBUFSIZE]; /* metadata input buffer */ int buflen; /* bytes read into buffer */ int tcplen; /* length of incoming TCPpacket */ int allow_request; /* defined if there's only one request possible */