diff options
| author | Felix Fietkau | 2022-03-22 09:27:33 +0000 |
|---|---|---|
| committer | Felix Fietkau | 2022-03-22 09:27:33 +0000 |
| commit | 57c7817f91c2ff2f247b2d7eb8554e861c4aec33 (patch) | |
| tree | 59b6e71d94770318c765b92eb2b35dfd3f343ad8 | |
| parent | 91cf440db9e2ebc1f7ce9f532500f3a320e90a1b (diff) | |
| download | qosify-57c7817f91c2ff2f247b2d7eb8554e861c4aec33.tar.gz | |
qosify: fix dscp values of ubus-added dns host entries
Signed-off-by: Felix Fietkau <nbd@nbd.name>
| -rw-r--r-- | map.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |