mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 00:00:09 +00:00
dns_txt: Add TXT record parsing support
Change-Id: Ie0eca23b8e6f4c7d9846b6013d79099314d90ef5
This commit is contained in:
committed by
George Joseph
parent
c40050d350
commit
479723f3cc
@@ -516,8 +516,9 @@ static struct ast_dns_record *generic_record_alloc(struct ast_dns_query *query,
|
||||
typedef struct ast_dns_record *(*dns_alloc_fn)(struct ast_dns_query *query, const char *data, const size_t size);
|
||||
|
||||
static dns_alloc_fn dns_alloc_table [] = {
|
||||
[T_TXT] = dns_txt_alloc,
|
||||
[T_NAPTR] = dns_naptr_alloc,
|
||||
[T_SRV] = dns_srv_alloc,
|
||||
[T_SRV] = dns_srv_alloc,
|
||||
};
|
||||
|
||||
static struct ast_dns_record *allocate_dns_record(unsigned int rr_type, struct ast_dns_query *query, const char *data, const size_t size)
|
||||
|
||||
Reference in New Issue
Block a user