]> git.mxchange.org Git - flightgear.git/commitdiff
Packet should be formated in network byte order.
authorcurt <curt>
Mon, 21 Jan 2008 19:11:32 +0000 (19:11 +0000)
committercurt <curt>
Mon, 21 Jan 2008 19:11:32 +0000 (19:11 +0000)
src/Network/native_ctrls.cxx

index d0ef99cef6ba724089cf661bf1dbfaa49e4b3e4d..b79d711fb3a612ac81fafed4317e2ff444523521 100644 (file)
@@ -293,7 +293,7 @@ void FGNetCtrls2Props( FGNetCtrls *net, bool honor_freezes,
     int i;
 
     SGPropertyNode * node;
-/***************
+
     if ( net_byte_order ) {
         // convert from network byte order
         net->version = htonl(net->version);
@@ -350,7 +350,7 @@ void FGNetCtrls2Props( FGNetCtrls *net, bool honor_freezes,
         net->speedup = htonl(net->speedup);
         net->freeze = htonl(net->freeze);
     }
-*************/
+
     if ( net->version != FG_NET_CTRLS_VERSION ) {
        SG_LOG( SG_IO, SG_ALERT,
                 "Version mismatch with raw controls packet format." );