SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
21
sysutils/pciutils/patches/patch-lib_names-net_c
Normal file
21
sysutils/pciutils/patches/patch-lib_names-net_c
Normal file
|
@ -0,0 +1,21 @@
|
|||
Index: lib/names-net.c
|
||||
--- lib/names-net.c.orig
|
||||
+++ lib/names-net.c
|
||||
@@ -204,7 +204,7 @@ char
|
||||
resolver_inited = 1;
|
||||
res_init();
|
||||
}
|
||||
- res = res_query(dnsname, ns_c_in, ns_t_txt, answer, sizeof(answer));
|
||||
+ res = res_query(dnsname, C_IN, T_TXT, answer, sizeof(answer));
|
||||
if (res < 0)
|
||||
{
|
||||
a->debug("\tfailed, h_errno=%d\n", h_errno);
|
||||
@@ -218,7 +218,7 @@ char
|
||||
dns_init_section(&ds, DNS_SEC_ANSWER);
|
||||
while (dns_parse_rr(&ds) > 0)
|
||||
{
|
||||
- if (ds.rr_class != ns_c_in || ds.rr_type != ns_t_txt)
|
||||
+ if (ds.rr_class != C_IN || ds.rr_type != T_TXT)
|
||||
{
|
||||
a->debug("\tUnexpected RR in answer: class %d, type %d\n", ds.rr_class, ds.rr_type);
|
||||
continue;
|
Loading…
Add table
Add a link
Reference in a new issue