Don't pass NULL to destroy_route
[oweals/gnunet.git] / src / cadet / cadet_protocol.h
index e2d6f9d0bfdcae8d0a3447ee1e6dd5bf5fd6a5fd..d2426addbd67cad26531acdea192034093c3f244 100644 (file)
@@ -67,9 +67,12 @@ struct GNUNET_CADET_ConnectionCreateMessage
   struct GNUNET_MessageHeader header;
 
   /**
-   * For alignment.
+   * Connection options in network byte order.
+   * #GNUNET_CADET_OPTION_DEFAULT for buffered;
+   * #GNUNET_CADET_OPTION_NOBUFFER for unbuffered.
+   * Other flags are ignored and should not be set at this level.
    */
-  uint32_t reserved GNUNET_PACKED;
+  uint32_t options GNUNET_PACKED;
 
   /**
    * ID of the connection