Skip to content
Snippets Groups Projects
Commit 3c1553e6 authored by Iryna Antsyferova's avatar Iryna Antsyferova Committed by Iryna Antsyferova
Browse files

Ignore invalid dns records in "pjsip show srv_lookups" asterisk CLI command, REF 16341

parent 1bb45e28
No related branches found
No related tags found
1 merge request!308Ignore invalid dns records in "pjsip show srv_lookups" asterisk CLI command, REF 16341
Pipeline #197161 skipped
......@@ -1542,6 +1542,8 @@ static char *cli_show_tasks(struct ast_cli_entry *e, int cmd, struct ast_cli_arg
ast_cli(a->fd, "%-40.40s Resolving...\n", host->target.addr.host.ptr);
continue;
}
if (host->target.type == PJSIP_TRANSPORT_UNSPECIFIED)
continue;
for (cnt = 0, current = host->a_records.first, next = current ? current->list.next : NULL; current;
cnt++, current = next, next = current ? current->list.next : NULL) {
ast_cli(a->fd, "%-40.40s %-40.40s %-25.25s %-6d %-15.15s %10d %8d %-24s\n",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment