net-snmp/net-snmp-5.4-udp-endpoint.patch
Jan Šafránek ecb48084c9 - fix snmptrapd hostname logging
- fix udpEndpointProcess remote IP address
- fix -M option of net-snmp-utils Resolves: #238587 #236551 #244784
2007-06-25 09:09:15 +00:00

13 lines
504 B
Diff

Already fixed upstream, should appear in 5.4.1
--- net-snmp-5.4/agent/mibgroup/udp-mib/data_access/udp_endpoint_linux.c.orig 2006-09-19 05:26:57.000000000 +0200
+++ net-snmp-5.4/agent/mibgroup/udp-mib/data_access/udp_endpoint_linux.c 2007-05-03 13:21:55.000000000 +0200
@@ -194,7 +194,7 @@
offset, line_info->start));
return PMLP_RC_MEMORY_UNUSED;
}
- ep->loc_addr_len = offset;
+ ep->rmt_addr_len = offset;
ptr += (offset * 2);
++ptr; /* skip ':' */