X-Git-Url: https://git.syn-net.org/debian/?p=anytun.git;a=blobdiff_plain;f=src%2FsyncConnectionCommand.cpp;h=90df43e74bc646ca044d4b1edd921a020e8d0a90;hp=d0d4a9ab5f67a8facd0da65ef0f1ce1a6582a90f;hb=ef0cacf2508418915d3f64b04003be3c13fed3cc;hpb=ece844834d2cecc028ce81ca283f5d441088580e diff --git a/src/syncConnectionCommand.cpp b/src/syncConnectionCommand.cpp index d0d4a9a..90df43e 100644 --- a/src/syncConnectionCommand.cpp +++ b/src/syncConnectionCommand.cpp @@ -11,7 +11,7 @@ * tunneling and relaying of packets of any protocol. * * - * Copyright (C) 2007-2009 Othmar Gsenger, Erwin Nindl, + * Copyright (C) 2007-2009 Othmar Gsenger, Erwin Nindl, * Christian Pointner * * This file is part of Anytun. @@ -31,17 +31,17 @@ */ #include "syncConnectionCommand.h" -SyncConnectionCommand::SyncConnectionCommand(ConnectionList & cl ) -:cl_(cl) -{ +SyncConnectionCommand::SyncConnectionCommand(ConnectionList& cl) + :cl_(cl) +{ } -SyncConnectionCommand::SyncConnectionCommand(ConnectionList & cl, u_int16_t mux ) -:cl_(cl),mux_(mux) -{ +SyncConnectionCommand::SyncConnectionCommand(ConnectionList& cl, uint16_t mux) + :cl_(cl),mux_(mux) +{ } -u_int16_t SyncConnectionCommand::getMux() const +uint16_t SyncConnectionCommand::getMux() const { - return mux_; + return mux_; }