Skip to content

Commit

Permalink
Fix segmentation fault that occurs infrequently in networks with mult…
Browse files Browse the repository at this point in the history
…iple gateways.
  • Loading branch information
gpremsan committed May 16, 2018
1 parent bf79642 commit 3b0ba4a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/LoRa/NetworkServerApp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ void NetworkServerApp::handleMessage(cMessage *msg)
}
updateKnownNodes(frame);
processLoraMACPacket(PK(msg));
}
if(msg->isSelfMessage())
} else if(msg->isSelfMessage())
{
processScheduledPacket(msg);
}
Expand Down

0 comments on commit 3b0ba4a

Please sign in to comment.