projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Reinstated a queue for outgoing packets.
[tinc]
/
src
/
protocol.c
diff --git
a/src/protocol.c
b/src/protocol.c
index
72f8c3d
..
12d279a
100644
(file)
--- a/
src/protocol.c
+++ b/
src/protocol.c
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: protocol.c,v 1.28.4.7
2 2001/01/06 18:03:40
guus Exp $
+ $Id: protocol.c,v 1.28.4.7
3 2001/01/07 15:25:45
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-35,6
+35,7
@@
#include <utils.h>
#include <xalloc.h>
#include <avl_tree.h>
#include <utils.h>
#include <xalloc.h>
#include <avl_tree.h>
+#include <list.h>
#include <netinet/in.h>
#include <netinet/in.h>
@@
-1258,6
+1259,8
@@
cp
from->status.validkey = 1;
from->status.waitingforkey = 0;
from->status.validkey = 1;
from->status.waitingforkey = 0;
+
+ flush_queue(from);
cp
return 0;
}
cp
return 0;
}