X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet.c;h=9e4829a35b75fcefba7eaaab3d044db8c2071d00;hb=a39a9506cd041a7092a98498b362eaacfd2f33c3;hp=1682705da74153241b3a96571ab5f8b6f37bdf54;hpb=e9576632dc4b780b867044269d06cc50f76d8c05;p=tinc diff --git a/src/net.c b/src/net.c index 1682705d..9e4829a3 100644 --- a/src/net.c +++ b/src/net.c @@ -295,8 +295,10 @@ static void check_network_activity(fd_set * readset, fd_set * writeset) /* check input from kernel */ if(FD_ISSET(device_fd, readset)) { - if(read_packet(&packet)) + if(read_packet(&packet)) { + packet.priority = 0; route(myself, &packet); + } } /* check meta connections */