X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet.c;h=9e4829a35b75fcefba7eaaab3d044db8c2071d00;hp=1682705da74153241b3a96571ab5f8b6f37bdf54;hb=67df7fb7e1c9eefe4bbc920fdc68b595ef28abd9;hpb=b069da90d67b49dce041f513a3855b8da3d82f80 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 */