aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp53/files/patch-snmp_agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/net-snmp53/files/patch-snmp_agent.c')
-rw-r--r--net-mgmt/net-snmp53/files/patch-snmp_agent.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/net-mgmt/net-snmp53/files/patch-snmp_agent.c b/net-mgmt/net-snmp53/files/patch-snmp_agent.c
index 735b7fbbc753..a663a5576c56 100644
--- a/net-mgmt/net-snmp53/files/patch-snmp_agent.c
+++ b/net-mgmt/net-snmp53/files/patch-snmp_agent.c
@@ -1,10 +1,10 @@
---- agent/snmp_agent.c.orig Tue Mar 22 11:11:51 2005
-+++ agent/snmp_agent.c Tue Mar 22 11:12:29 2005
-@@ -825,6 +825,7 @@
- return 0;
- }
- } else {
-+ SNMP_FREE(addr_string);
- if (hosts_ctl("snmpd", STRING_UNKNOWN, STRING_UNKNOWN, STRING_UNKNOWN)){
- snmp_log(allow_severity, "Connection from <UNKNOWN>\n");
+--- agent/snmp_agent.c.orig Thu Mar 17 17:17:43 2005
++++ agent/snmp_agent.c Wed Nov 30 12:23:41 2005
+@@ -839,6 +839,7 @@
+ ;
+ else if (hosts_ctl("snmpd", STRING_UNKNOWN, STRING_UNKNOWN, STRING_UNKNOWN)){
+ snmp_log(allow_severity, "Connection from <UNKNOWN> (%s)\n", addr_string);
++ SNMP_FREE(addr_string);
addr_string = strdup("<UNKNOWN>");
+ } else {
+ snmp_log(deny_severity, "Connection from <UNKNOWN> (%s) REFUSED\n", addr_string);