projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes for the Forwarding option.
[tinc]
/
src
/
route.c
diff --git
a/src/route.c
b/src/route.c
index
4e7f7e5
..
853b7f5
100644
(file)
--- a/
src/route.c
+++ b/
src/route.c
@@
-844,7
+844,7
@@
static void route_mac(node_t *source, vpn_packet_t *packet) {
}
void route(node_t *source, vpn_packet_t *packet) {
}
void route(node_t *source, vpn_packet_t *packet) {
- if(forwarding_mode == FMODE_KERNEL) {
+ if(forwarding_mode == FMODE_KERNEL
&& source != myself
) {
send_packet(myself, packet);
return;
}
send_packet(myself, packet);
return;
}