projects
/
oweals
/
tinc.git
/ 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 43c8ce20204db886b4b7ab2ece7afdd68c9f4b4c..cd8d98ac0b94cb602a738752f771cfa1d6102af2 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;