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:
91cf440
)
qosify: fix dscp values of ubus-added dns host entries
author
Felix Fietkau
<nbd@nbd.name>
Tue, 22 Mar 2022 09:27:33 +0000
(10:27 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Tue, 22 Mar 2022 09:27:33 +0000
(10:27 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
map.c
patch
|
blob
|
history
diff --git
a/map.c
b/map.c
index 83e119bfb89356f462136d7d31040f6cdcab5d02..f88848e4db38266b1bbf4836955f91fb196c9935 100644
(file)
--- a/
map.c
+++ b/
map.c
@@
-766,7
+766,9
@@
int qosify_map_lookup_dns_entry(char *host, bool cname, uint8_t *dscp, uint32_t
int qosify_map_add_dns_host(char *host, const char *addr, const char *type, int ttl)
{
- struct qosify_map_data data = {};
+ struct qosify_map_data data = {
+ .dscp = 0xff
+ };
int prev_timeout = qosify_map_timeout;
uint32_t lookup_seq = 0;