projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initialise priority field to zero for packets read from the VPN interface.
[tinc]
/
src
/
net_packet.c
diff --git
a/src/net_packet.c
b/src/net_packet.c
index
1805cf7
..
95f2961
100644
(file)
--- a/
src/net_packet.c
+++ b/
src/net_packet.c
@@
-648,6
+648,8
@@
void handle_incoming_vpn_data(int sock, short events, void *data) {
void handle_device_data(int sock, short events, void *data) {
vpn_packet_t packet;
+ packet.priority = 0;
+
if(read_packet(&packet)) {
myself->in_packets++;
myself->in_bytes += packet.len;