pkgsrc/net/net-snmp/patches/patch-ea
adam d695e6ce90 Chagesn 5.4.1:
snmplib:
  - [BUG 1619827]: link libraries against needed external libraries
  - [PATCH 1616912]: fix memory leak in UDP transport code
  - [PATCH 1592706]: fix memory leak when cloning varbinds
  - Change snmp_sess_add_ex to consistently close and delete the
    transport argument on failure, earlier the liveness of the
    transport argument was undecided.
snmpd:
  - [BUG 1558823]: fix ipAddressTable memory leak
  - [BUG 1596638]: fix memory leak in ipCidrRouteTable, inetCidrRouteTable
  - [BUG 1611524]: fix tcp connection table file descriptor leak
  - handle row deletion issues in dataset tables
  - [BUG 1712988]: default and configurable maximum number of
    varbinds returnable to a GETBULK request.
  - [PATCH 1666737]: include ipv6 counts in
    udpInDatagrams, udpNoPorts, udpInErrors, udpOutDatagrams
  - [PATCH 1700157]: fixes ordering of exec tokens in the resulting mib tree
  - [PATCH 1719253]: fix skipNFSInHostResources so it does not break on the
    second walk of the table.
perl:
  - link Perl modules against the exact set of libraries needed
  - [BUG 1619827]: properly link against libperl when configured with --enable-as-needed
  - [PATCH 1725049]: fix bulkwalk in cases of non-repeater
python:
  - [PATCH 1716114]: Let python build in the Net-SNMP source tree
MacOSX:
  - [PATCH 1600522]: CPU Hardware Abstraction Layer (HAL)
    implementation for mach/darwin
  - IF-MIB rewrite now enabled by default
Win32:
  - fix AES support
  - [PATCH 1706344]: fix compilation with cygwin
IRIX:
  - [PATCH 1709748]: Optimized IRIX cpu stats
AIX:
  - Fix default shared library building instead of forcing static use
FreeBSD:
  - [BUG 1633483]: Support CPU HAL on FreeBSD4.x
2007-08-11 11:05:56 +00:00

13 lines
583 B
Text

$NetBSD: patch-ea,v 1.4 2007/08/11 11:05:57 adam Exp $
--- snmplib/snmp_api.c.orig 2007-07-21 16:51:54.000000000 +0200
+++ snmplib/snmp_api.c
@@ -6833,7 +6833,7 @@ snmp_add_var(netsnmp_pdu *pdu,
}
#endif /* NETSNMP_DISABLE_MIB_LOADING */
atmp = inet_addr(value);
- if (atmp != (long) -1 || !strcmp(value, "255.255.255.255"))
+ if (atmp != (in_addr_t) -1 || !strcmp(value, "255.255.255.255"))
snmp_pdu_add_variable(pdu, name, name_length, ASN_IPADDRESS,
(u_char *) & atmp, sizeof(atmp));
else