diff options
Diffstat (limited to 'node/Switch.cpp')
-rw-r--r-- | node/Switch.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp index 58979e26..55275dc3 100644 --- a/node/Switch.cpp +++ b/node/Switch.cpp @@ -502,7 +502,7 @@ void Switch::onLocalEthernet(void *tPtr,const SharedPtr<Network> &network,const void Switch::aqm_enqueue(void *tPtr, const SharedPtr<Network> &network, Packet &packet,bool encrypt,int qosBucket) { - if(!network->QoSEnabled()) { + if(!network->qosEnabled()) { send(tPtr, packet, encrypt); return; } @@ -816,7 +816,6 @@ void Switch::doAnythingWaitingForPeer(void *tPtr,const SharedPtr<Peer> &peer) { Mutex::Lock _l(_txQueue_m); - for(std::list< TXQueueEntry >::iterator txi(_txQueue.begin());txi!=_txQueue.end();) { if (txi->dest == peer->address()) { if (_trySend(tPtr,txi->packet,txi->encrypt)) { |