projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Let user choose whether keys are in the config files or separate
[tinc]
/
src
/
meta.c
diff --git
a/src/meta.c
b/src/meta.c
index
289d0b8
..
14a3c1d
100644
(file)
--- a/
src/meta.c
+++ b/
src/meta.c
@@
-17,11
+17,12
@@
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: meta.c,v 1.1.2.1
2 2000/11/20 19:12:12
guus Exp $
+ $Id: meta.c,v 1.1.2.1
3 2001/01/05 23:53:49
guus Exp $
*/
#include "config.h"
#include <utils.h>
*/
#include "config.h"
#include <utils.h>
+#include <avl_tree.h>
#include <errno.h>
#include <syslog.h>
#include <errno.h>
#include <syslog.h>
@@
-74,12
+75,12
@@
cp
void broadcast_meta(connection_t *cl, char *buffer, int length)
{
void broadcast_meta(connection_t *cl, char *buffer, int length)
{
-
rbl_t *rbl
;
+
avl_node_t *node
;
connection_t *p;
cp
connection_t *p;
cp
-
RBL_FOREACH(connection_tree, rbl
)
+
for(node = connection_tree->head; node; node = node->next
)
{
{
- p = (connection_t *)
rbl
->data;
+ p = (connection_t *)
node
->data;
if(p != cl && p->status.meta && p->status.active)
send_meta(p, buffer, length);
}
if(p != cl && p->status.meta && p->status.active)
send_meta(p, buffer, length);
}