Skip to content
Snippets Groups Projects

DNS-over-HTTP support (server side)

Merged Petr Špaček requested to merge doh_experiment into master
Viewing commit 5b9e233e
Show latest version
1 file
+ 1
0
Preferences
Compare changes
+ 1
0
@@ -48,6 +48,7 @@ uint32_t packet_ttl(const knot_pkt_t *pkt, bool is_negative)
continue; /* Skip metatypes. */
}
ttl = MIN(ttl, rr->ttl);
has_ttl = true;
}
}
/* If no valid TTL present, go with zero (will get clamped to minimum). */