Skip to content
Snippets Groups Projects
Commit fac81bbc authored by Lubos Slovak's avatar Lubos Slovak
Browse files

EDNS: missing initialization of NSID in EDNS params

parent 3735831d
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,8 @@ knot_edns_params_t *knot_edns_new_params(uint16_t max_payload, uint8_t ver,
return NULL;
}
memcpy(edns->nsid, nsid, nsid_len);
} else {
edns->nsid = NULL;
}
return edns;
......
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