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

Another fix

parent 1cb6e8e4
No related branches found
No related tags found
No related merge requests found
......@@ -2713,8 +2713,9 @@ static int knot_ns_replace_nsid(knot_opt_rr_t *opt_rr, const char *nsid,
while (i < opt_rr->option_count && !found) {
if (opt_rr->options[i].code == EDNS_OPTION_NSID) {
found = 1;
} else {
++i;
}
++i;
}
if (found) {
......
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