|
@@ -13,7 +13,7 @@
|
13
|
13
|
dnl * *
|
14
|
14
|
--- a/src/libs/zbxsysinfo/common/net.c
|
15
|
15
|
+++ b/src/libs/zbxsysinfo/common/net.c
|
16
|
|
-@@ -424,6 +424,7 @@ static int dns_query(AGENT_REQUEST *requ
|
|
16
|
+@@ -425,6 +425,7 @@ static int dns_query(AGENT_REQUEST *requ
|
17
|
17
|
if (-1 == res_init()) /* initialize always, settings might have changed */
|
18
|
18
|
return SYSINFO_RET_FAIL;
|
19
|
19
|
|
|
@@ -21,7 +21,7 @@
|
21
|
21
|
if (-1 == (res = res_mkquery(QUERY, zone, C_IN, type, NULL, 0, NULL, buf, sizeof(buf))))
|
22
|
22
|
return SYSINFO_RET_FAIL;
|
23
|
23
|
|
24
|
|
-@@ -448,6 +449,11 @@ static int dns_query(AGENT_REQUEST *requ
|
|
24
|
+@@ -449,6 +450,11 @@ static int dns_query(AGENT_REQUEST *requ
|
25
|
25
|
_res.retry = retry;
|
26
|
26
|
|
27
|
27
|
res = res_send(buf, res, answer.buffer, sizeof(answer.buffer));
|