]> tinc-vpn.org Git - tinc/blobdiff - src/connection.h
Add colors to tincd logger
[tinc] / src / connection.h
index 6489ef4f9445e9a1f9a13508a367b01541bf4d49..23bde77677e4daf91145653e68ab9804ed7a852f 100644 (file)
@@ -49,6 +49,7 @@ typedef union connection_status_t {
                bool control: 1;                /* 1 if this is a control connection */
                bool pcap: 1;                   /* 1 if this is a control connection requesting packet capture */
                bool log: 1;                    /* 1 if this is a control connection requesting log dump */
+               bool log_color: 1;              /* 1 if this connection supports ANSI escape codes */
                bool invitation: 1;             /* 1 if this is an invitation */
                bool invitation_used: 1;        /* 1 if the invitation has been consumed */
                bool tarpit: 1;                 /* 1 if the connection should be added to the tarpit */