Fixes for the Forwarding option.
[oweals/tinc.git] / src / route.c
index 4e7f7e585db410c41f733a582aae7c2540064e43..853b7f5b1acb5a916ec1657131c598e26768b4ec 100644 (file)
@@ -844,7 +844,7 @@ static void route_mac(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;
        }