]> git.meshlink.io Git - meshlink/blobdiff - src/protocol.h
Add checks for the presence of the universal tun/tap device driver.
[meshlink] / src / protocol.h
index e4fd5f1cb64a1aeeb941c41f7d58cc64b62657d8..27372587a1cab35415a5a46236379ccba83b6019 100644 (file)
@@ -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: protocol.h,v 1.5.4.9 2000/10/11 10:35:17 guus Exp $
+    $Id: protocol.h,v 1.5.4.11 2000/10/15 00:59:36 guus Exp $
 */
 
 #ifndef __TINC_PROTOCOL_H__
@@ -37,7 +37,7 @@
    quite large.
  */
 
-#define CHAL_LENGTH 2048
+#define CHAL_LENGTH 1024 /* Okay, this is probably waaaaaaaaaaay too large */
 
 /* Request numbers */
 
@@ -56,7 +56,7 @@ extern int (*request_handlers[])(conn_list_t*);
 
 extern int send_id(conn_list_t*);
 extern int send_challenge(conn_list_t*);
-extern int send_chal_reply(conn_list_t*, char*);
+extern int send_chal_reply(conn_list_t*);
 extern int send_ack(conn_list_t*);
 extern int send_status(conn_list_t*, int, char*);
 extern int send_error(conn_list_t*, int, char*);