Skip to content
Snippets Groups Projects
Commit 4c5d15ec authored by Daniel Salzman's avatar Daniel Salzman
Browse files

libknot/probe: fill EDE if EDNS is present

parent 5bcf1868
No related branches found
No related tags found
No related merge requests found
......@@ -100,6 +100,9 @@ static knotd_state_t export(knotd_state_t state, knot_pkt_t *pkt,
if (tcp) {
d.tcp_rtt = knot_probe_tcp_rtt(qdata->params->socket);
}
if (qdata->query->opt_rr != NULL) {
d.reply.ede = qdata->rcode_ede;
}
(void)knot_probe_produce(probe, &d, 1);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment