projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a84f9c
)
Fix crash when using Broadcast = direct.
author
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 25 Jun 2012 17:03:54 +0000
(19:03 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 25 Jun 2012 17:03:54 +0000
(19:03 +0200)
src/net_packet.c
patch
|
blob
|
history
diff --git
a/src/net_packet.c
b/src/net_packet.c
index
43c8ce2
..
cd8d98a
100644
(file)
--- a/
src/net_packet.c
+++ b/
src/net_packet.c
@@
-622,7
+622,7
@@
void broadcast_packet(const node_t *from, vpn_packet_t *packet) {
n = node->data;
if(n->status.reachable && ((n->via == myself && n->nexthop == n) || n->via == n))
- send_packet(
c->node
, packet);
+ send_packet(
n
, packet);
}
break;