Initialise priority field to zero for packets read from the VPN interface.
This commit is contained in:
parent
4c403840ff
commit
d29bfc9a45
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
void handle_device_data(int sock, short events, void *data) {
|
||||||
vpn_packet_t packet;
|
vpn_packet_t packet;
|
||||||
|
|
||||||
|
packet.priority = 0;
|
||||||
|
|
||||||
if(read_packet(&packet)) {
|
if(read_packet(&packet)) {
|
||||||
myself->in_packets++;
|
myself->in_packets++;
|
||||||
myself->in_bytes += packet.len;
|
myself->in_bytes += packet.len;
|
||||||
|
|
Loading…
Reference in a new issue