X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fconnection.h;h=b3a7e33ff1d391a9d5953cded8dc932d31016943;hp=5ad7fcb9d04524e75f971bc2d7e7cd3bace4c629;hb=5cbddc68bade0d1f8ded1b784bb27bb44c5dc5dc;hpb=c23fcf555ee4b69f03b76a0ffb731c3a475a77e7 diff --git a/src/connection.h b/src/connection.h index 5ad7fcb9..b3a7e33f 100644 --- a/src/connection.h +++ b/src/connection.h @@ -13,11 +13,9 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - $Id$ + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef __TINC_CONNECTION_H__ @@ -58,7 +56,7 @@ typedef struct connection_t { int protocol_version; /* used protocol */ int socket; /* socket used for this connection */ - long int options; /* options for this connection */ + uint32_t options; /* options for this connection */ 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 */