projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing brainpool.h.
[tinc]
/
src
/
net_packet.c
diff --git
a/src/net_packet.c
b/src/net_packet.c
index
6f7a3a1
..
1159231
100644
(file)
--- a/
src/net_packet.c
+++ b/
src/net_packet.c
@@
-42,7
+42,6
@@
#include "net.h"
#include "netutl.h"
#include "protocol.h"
#include "net.h"
#include "netutl.h"
#include "protocol.h"
-#include "process.h"
#include "route.h"
#include "utils.h"
#include "xalloc.h"
#include "route.h"
#include "utils.h"
#include "xalloc.h"
@@
-961,7
+960,7
@@
void broadcast_packet(const node_t *from, vpn_packet_t *packet) {
break;
for splay_each(node_t, n, node_tree)
break;
for splay_each(node_t, n, node_tree)
- if(n->status.reachable && ((n->via == myself && n->nexthop == n) || n->via == n))
+ if(n->status.reachable &&
n != myself &&
((n->via == myself && n->nexthop == n) || n->via == n))
send_packet(n, packet);
break;
send_packet(n, packet);
break;