]> git.meshlink.io Git - meshlink/blobdiff - src/connection.h
Ensure tinc compiles with gcc -std=c99.
[meshlink] / src / connection.h
index 87988db4002bc036da0c85448d6da84550016714..8948d4fae885589205c74c7c2348a79f071a8f05 100644 (file)
@@ -59,7 +59,7 @@ typedef struct connection_t {
 
        int socket;                                     /* socket used for this connection */
        long int options;                       /* options for this connection */
-       struct connection_status_t status;      /* status info */
+       connection_status_t status;     /* status info */
        int estimated_weight;           /* estimation for the weight of the edge for this connection */
        struct timeval start;           /* time this connection was started, used for above estimation */
        struct outgoing_t *outgoing;    /* used to keep track of outgoing connections */