1
0
Fork 0

Disable network reading when not linked.

ycs232-kbc
Jonathan Naylor 8 years ago committed by GitHub
parent 4e8e40d582
commit 65c87982e7

@ -1,5 +1,5 @@
/*
* Copyright (C) 2009-2014,2016 by Jonathan Naylor G4KLX
* Copyright (C) 2009-2014,2016,2017 by Jonathan Naylor G4KLX
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -130,6 +130,9 @@ bool CNetwork::writeUnlink()
void CNetwork::clock(unsigned int ms)
{
if (m_port == 0U)
return;
unsigned char buffer[BUFFER_LENGTH];
in_addr address;

Loading…
Cancel
Save