projects
/
project
/
qosify.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f13b67c
)
dns: fix parsing vlan encapsulated protocol
author
Felix Fietkau
<nbd@nbd.name>
Mon, 7 Mar 2022 12:59:26 +0000
(13:59 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Mon, 7 Mar 2022 12:59:26 +0000
(13:59 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
dns.c
patch
|
blob
|
history
diff --git
a/dns.c
b/dns.c
index b943ef5030fbddd4e5142bcbb86f285425892bf3..13257f8b63aa81d8fcd49a2973163be23c65418f 100644
(file)
--- a/
dns.c
+++ b/
dns.c
@@
-276,7
+276,7
@@
qosify_dns_packet_cb(struct packet *pkt)
if (!vlan)
return;
- proto =
vlan->proto
;
+ proto =
be16_to_cpu(vlan->proto)
;
}
switch (proto) {