1 |
slords |
1.1 |
diff -uNr zabbix-1.6.orig/src/zabbix_server/poller/checks_snmp.c zabbix-1.6/src/zabbix_server/poller/checks_snmp.c |
2 |
|
|
--- zabbix-1.6.orig/src/zabbix_server/poller/checks_snmp.c 2008-10-28 12:39:39.000000000 +0000 |
3 |
|
|
+++ zabbix-1.6/src/zabbix_server/poller/checks_snmp.c 2008-10-28 12:53:20.000000000 +0000 |
4 |
|
|
@@ -209,8 +209,8 @@ |
5 |
|
|
|
6 |
|
|
zabbix_log (LOG_LEVEL_DEBUG, "OID [%s]", OID); |
7 |
|
|
|
8 |
|
|
- if (NULL != CONFIG_SOURCE_IP) |
9 |
|
|
- session.localname = CONFIG_SOURCE_IP; |
10 |
|
|
+// if (NULL != CONFIG_SOURCE_IP) |
11 |
|
|
+// session.localname = CONFIG_SOURCE_IP; |
12 |
|
|
|
13 |
|
|
SOCK_STARTUP; |
14 |
|
|
ss = snmp_open (&session); |
15 |
|
|
@@ -543,8 +543,8 @@ |
16 |
|
|
zabbix_log( LOG_LEVEL_DEBUG, "OID [%s]", |
17 |
|
|
snmp_oid); |
18 |
|
|
|
19 |
|
|
- if (NULL != CONFIG_SOURCE_IP) |
20 |
|
|
- session.localname = CONFIG_SOURCE_IP; |
21 |
|
|
+// if (NULL != CONFIG_SOURCE_IP) |
22 |
|
|
+// session.localname = CONFIG_SOURCE_IP; |
23 |
|
|
|
24 |
|
|
SOCK_STARTUP; |
25 |
|
|
ss = snmp_open(&session); |